From 0ab788e2712f6b2f08e1fa62d4247eab2cdf7371 Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Tue, 26 Jun 2018 18:37:09 +0000 Subject: [PATCH] [libFuzzer] Mark several tests UNSUPPORTED for aarch64. Now that check-fuzzer runs as part of check-all, some aarch64 bots had tests failing. llvm-svn: 335639 --- compiler-rt/test/fuzzer/coverage.test | 1 + compiler-rt/test/fuzzer/fuzzer-printcovpcs.test | 1 + compiler-rt/test/fuzzer/print-func.test | 2 +- compiler-rt/test/fuzzer/target-function.test | 3 ++- compiler-rt/test/fuzzer/trace-malloc-threaded.test | 2 +- compiler-rt/test/fuzzer/value-profile-div.test | 1 + 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/fuzzer/coverage.test b/compiler-rt/test/fuzzer/coverage.test index 7e76fe7893a8..83a4b12cbcfb 100644 --- a/compiler-rt/test/fuzzer/coverage.test +++ b/compiler-rt/test/fuzzer/coverage.test @@ -1,3 +1,4 @@ +UNSUPPORTED: aarch64 RUN: %cpp_compiler -mllvm -use-unknown-locations=Disable %S/NullDerefTest.cpp -o %t-NullDerefTest RUN: %cpp_compiler -mllvm -use-unknown-locations=Disable %S/DSO1.cpp -fPIC %ld_flags_rpath_so1 -shared -o %dynamiclib1 RUN: %cpp_compiler -mllvm -use-unknown-locations=Disable %S/DSO2.cpp -fPIC %ld_flags_rpath_so2 -shared -o %dynamiclib2 diff --git a/compiler-rt/test/fuzzer/fuzzer-printcovpcs.test b/compiler-rt/test/fuzzer/fuzzer-printcovpcs.test index 203902e33a11..decf0a7e5fff 100644 --- a/compiler-rt/test/fuzzer/fuzzer-printcovpcs.test +++ b/compiler-rt/test/fuzzer/fuzzer-printcovpcs.test @@ -1,4 +1,5 @@ XFAIL: ios +UNSUPPORTED: aarch64 RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest RUN: not %run %t-SimpleTest -print_pcs=1 -seed=1 2>&1 | FileCheck %s --check-prefix=PCS PCS-NOT: NEW_PC diff --git a/compiler-rt/test/fuzzer/print-func.test b/compiler-rt/test/fuzzer/print-func.test index d4920cdd8ad1..c74da218282e 100644 --- a/compiler-rt/test/fuzzer/print-func.test +++ b/compiler-rt/test/fuzzer/print-func.test @@ -1,4 +1,4 @@ -UNSUPPORTED: darwin +UNSUPPORTED: darwin, aarch64 RUN: %cpp_compiler %S/PrintFuncTest.cpp -o %t RUN: %run %t -seed=1 -runs=100000 2>&1 | FileCheck %s RUN: %run %t -seed=1 -runs=100000 -print_funcs=0 2>&1 | FileCheck %s --check-prefix=NO diff --git a/compiler-rt/test/fuzzer/target-function.test b/compiler-rt/test/fuzzer/target-function.test index f39e1ac1b915..afd29ab8a83f 100644 --- a/compiler-rt/test/fuzzer/target-function.test +++ b/compiler-rt/test/fuzzer/target-function.test @@ -2,7 +2,8 @@ # # TODO: don't require linux. # REQUIRES: linux -# +UNSUPPORTED: aarch64 + RUN: %cpp_compiler %S/OnlySomeBytesTest.cpp -o %t-exe RUN: %t-exe -runs=100 2>&1 | FileCheck %s --check-prefix=FOCUS_NONE diff --git a/compiler-rt/test/fuzzer/trace-malloc-threaded.test b/compiler-rt/test/fuzzer/trace-malloc-threaded.test index ab3603563ecc..8f972d61f5c6 100644 --- a/compiler-rt/test/fuzzer/trace-malloc-threaded.test +++ b/compiler-rt/test/fuzzer/trace-malloc-threaded.test @@ -1,6 +1,6 @@ // FIXME: This test infinite loops on darwin because it crashes // printing a stack trace repeatedly -UNSUPPORTED: darwin +UNSUPPORTED: darwin, aarch64 RUN: %cpp_compiler %S/TraceMallocThreadedTest.cpp -o \ RUN: %t-TraceMallocThreadedTest diff --git a/compiler-rt/test/fuzzer/value-profile-div.test b/compiler-rt/test/fuzzer/value-profile-div.test index a8fb2c1260bb..59cc7c2f9552 100644 --- a/compiler-rt/test/fuzzer/value-profile-div.test +++ b/compiler-rt/test/fuzzer/value-profile-div.test @@ -1,4 +1,5 @@ XFAIL: ios +UNSUPPORTED: aarch64 CHECK: AddressSanitizer: {{FPE|int-divide-by-zero}} RUN: %cpp_compiler %S/DivTest.cpp -fsanitize-coverage=trace-div -o %t-DivTest RUN: not %run %t-DivTest -seed=1 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s