[compiler-rt] 2e67276 - libfuzzer: Disable broken tests for arm
Manoj Gupta via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 22 10:33:41 PST 2021
Author: Manoj Gupta
Date: 2021-11-22T10:33:14-08:00
New Revision: 2e67276d984d9d03e24487c987570a8e091759d0
URL: https://github.com/llvm/llvm-project/commit/2e67276d984d9d03e24487c987570a8e091759d0
DIFF: https://github.com/llvm/llvm-project/commit/2e67276d984d9d03e24487c987570a8e091759d0.diff
LOG: libfuzzer: Disable broken tests for arm
libfuzzer was recently enabled for Arm32 in D112091.
A few tests apparently do not work with arm32 so disable them.
The list of tests was obtained from
https://lab.llvm.org/buildbot/#/builders/190/builds/513
Reviewed By: morehouse
Differential Revision: https://reviews.llvm.org/D114312
Added:
Modified:
compiler-rt/test/fuzzer/acquire-crash-state.test
compiler-rt/test/fuzzer/compressed.test
compiler-rt/test/fuzzer/msan-custom-mutator.test
compiler-rt/test/fuzzer/msan-param-unpoison.test
compiler-rt/test/fuzzer/msan.test
compiler-rt/test/fuzzer/sigint.test
compiler-rt/test/fuzzer/value-profile-div.test
Removed:
################################################################################
diff --git a/compiler-rt/test/fuzzer/acquire-crash-state.test b/compiler-rt/test/fuzzer/acquire-crash-state.test
index 952ec735be6f0..0f30ccc73ea98 100644
--- a/compiler-rt/test/fuzzer/acquire-crash-state.test
+++ b/compiler-rt/test/fuzzer/acquire-crash-state.test
@@ -1,3 +1,4 @@
+UNSUPPORTED: arm
RUN: %cpp_compiler %S/AcquireCrashStateTest.cpp -o %t
RUN: %run %t 2>&1 | FileCheck %s
CHECK-NOT: fuzz target exited
diff --git a/compiler-rt/test/fuzzer/compressed.test b/compiler-rt/test/fuzzer/compressed.test
index 37ea6133006b8..d3326f49d8d57 100644
--- a/compiler-rt/test/fuzzer/compressed.test
+++ b/compiler-rt/test/fuzzer/compressed.test
@@ -2,7 +2,7 @@ REQUIRES: linux
REQUIRES: zlib
# zlib is "supported" on i386 even when only for x86_64, explicitly make i386
# unsupported by this test.
-UNSUPPORTED: i386
+UNSUPPORTED: i386, arm
# Custom mutator should find this bug, w/o custom -- no chance.
RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestCustom -DCUSTOM_MUTATOR -lz
RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestPlain -lz
diff --git a/compiler-rt/test/fuzzer/msan-custom-mutator.test b/compiler-rt/test/fuzzer/msan-custom-mutator.test
index 00fbae32048f5..568077ad6c317 100644
--- a/compiler-rt/test/fuzzer/msan-custom-mutator.test
+++ b/compiler-rt/test/fuzzer/msan-custom-mutator.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
RUN: %msan_compiler %S/MsanCustomMutator.cpp -o %t
RUN: %run %t -seed=1 -runs=1000 2>&1 | FileCheck %s
diff --git a/compiler-rt/test/fuzzer/msan-param-unpoison.test b/compiler-rt/test/fuzzer/msan-param-unpoison.test
index f32f8511dd8f5..699ea96cce6a9 100644
--- a/compiler-rt/test/fuzzer/msan-param-unpoison.test
+++ b/compiler-rt/test/fuzzer/msan-param-unpoison.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
RUN: %msan_compiler %S/MsanParamUnpoison.cpp -o %t
RUN: %run %t -seed=1 -runs=1000 2>&1 | FileCheck %s
diff --git a/compiler-rt/test/fuzzer/msan.test b/compiler-rt/test/fuzzer/msan.test
index 2e0339bb8ff7b..b6d6786a3f7ac 100644
--- a/compiler-rt/test/fuzzer/msan.test
+++ b/compiler-rt/test/fuzzer/msan.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
RUN: %msan_compiler %S/SimpleTestStdio.cpp -o %t
RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=NO-REPORT
diff --git a/compiler-rt/test/fuzzer/sigint.test b/compiler-rt/test/fuzzer/sigint.test
index e9834482bd81a..65bfdeb98e353 100644
--- a/compiler-rt/test/fuzzer/sigint.test
+++ b/compiler-rt/test/fuzzer/sigint.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
# Check that libFuzzer exits gracefully under SIGINT with MSan.
RUN: rm -rf %t
diff --git a/compiler-rt/test/fuzzer/value-profile-div.test b/compiler-rt/test/fuzzer/value-profile-div.test
index 38f211241b0f4..015471c65ba29 100644
--- a/compiler-rt/test/fuzzer/value-profile-div.test
+++ b/compiler-rt/test/fuzzer/value-profile-div.test
@@ -1,5 +1,5 @@
UNSUPPORTED: ios
-UNSUPPORTED: aarch64
+UNSUPPORTED: arm, 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
More information about the llvm-commits
mailing list