From d2f6590285608cfebcdff31f2001c7bd529c17f7 Mon Sep 17 00:00:00 2001 From: George Karpenkov Date: Wed, 10 Oct 2018 00:58:03 +0000 Subject: [PATCH] [libFuzzer] Disable value profiling tests on ARM Some seem fragile, some fail, and some just take a really long time to run. It does not seem to make sense to support some subset of value profiling tests. Differential Revision: https://reviews.llvm.org/D53047 llvm-svn: 344105 --- compiler-rt/test/fuzzer/value-profile-cmp2.test | 1 + compiler-rt/test/fuzzer/value-profile-cmp3.test | 1 + compiler-rt/test/fuzzer/value-profile-div.test | 2 +- compiler-rt/test/fuzzer/value-profile-mem.test | 1 + compiler-rt/test/fuzzer/value-profile-set.test | 1 + compiler-rt/test/fuzzer/value-profile-strcmp.test | 1 + compiler-rt/test/fuzzer/value-profile-switch.test | 2 +- 7 files changed, 7 insertions(+), 2 deletions(-) diff --git a/compiler-rt/test/fuzzer/value-profile-cmp2.test b/compiler-rt/test/fuzzer/value-profile-cmp2.test index 4bf119f..5935ed6 100644 --- a/compiler-rt/test/fuzzer/value-profile-cmp2.test +++ b/compiler-rt/test/fuzzer/value-profile-cmp2.test @@ -1,3 +1,4 @@ +UNSUPPORTED: ios CHECK: BINGO RUN: %cpp_compiler -fno-sanitize=address %S/SimpleHashTest.cpp -o %t-SimpleHashTest RUN: not %run %t-SimpleHashTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 -max_len=64 2>&1 | FileCheck %s diff --git a/compiler-rt/test/fuzzer/value-profile-cmp3.test b/compiler-rt/test/fuzzer/value-profile-cmp3.test index 58ba18b..fe71592 100644 --- a/compiler-rt/test/fuzzer/value-profile-cmp3.test +++ b/compiler-rt/test/fuzzer/value-profile-cmp3.test @@ -1,3 +1,4 @@ +UNSUPPORTED: ios CHECK: BINGO RUN: %cpp_compiler %S/AbsNegAndConstantTest.cpp -o %t-AbsNegAndConstantTest RUN: not %run %t-AbsNegAndConstantTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s diff --git a/compiler-rt/test/fuzzer/value-profile-div.test b/compiler-rt/test/fuzzer/value-profile-div.test index 59cc7c2..38f2112 100644 --- a/compiler-rt/test/fuzzer/value-profile-div.test +++ b/compiler-rt/test/fuzzer/value-profile-div.test @@ -1,4 +1,4 @@ -XFAIL: ios +UNSUPPORTED: ios UNSUPPORTED: aarch64 CHECK: AddressSanitizer: {{FPE|int-divide-by-zero}} RUN: %cpp_compiler %S/DivTest.cpp -fsanitize-coverage=trace-div -o %t-DivTest diff --git a/compiler-rt/test/fuzzer/value-profile-mem.test b/compiler-rt/test/fuzzer/value-profile-mem.test index 57c844e..7d68b88 100644 --- a/compiler-rt/test/fuzzer/value-profile-mem.test +++ b/compiler-rt/test/fuzzer/value-profile-mem.test @@ -1,3 +1,4 @@ +UNSUPPORTED: ios UNSUPPORTED: freebsd CHECK: BINGO RUN: %cpp_compiler %S/SingleMemcmpTest.cpp -o %t-SingleMemcmpTest diff --git a/compiler-rt/test/fuzzer/value-profile-set.test b/compiler-rt/test/fuzzer/value-profile-set.test index e55f1e4..7515e36 100644 --- a/compiler-rt/test/fuzzer/value-profile-set.test +++ b/compiler-rt/test/fuzzer/value-profile-set.test @@ -1,3 +1,4 @@ +UNSUPPORTED: ios CHECK: BINGO RUN: %cpp_compiler %S/FourIndependentBranchesTest.cpp -o %t-FourIndependentBranchesTest RUN: not %run %t-FourIndependentBranchesTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s diff --git a/compiler-rt/test/fuzzer/value-profile-strcmp.test b/compiler-rt/test/fuzzer/value-profile-strcmp.test index 647121f..9b7a244 100644 --- a/compiler-rt/test/fuzzer/value-profile-strcmp.test +++ b/compiler-rt/test/fuzzer/value-profile-strcmp.test @@ -1,3 +1,4 @@ +UNSUPPORTED: ios UNSUPPORTED: freebsd CHECK: BINGO RUN: %cpp_compiler %S/SingleStrcmpTest.cpp -o %t-SingleStrcmpTest diff --git a/compiler-rt/test/fuzzer/value-profile-switch.test b/compiler-rt/test/fuzzer/value-profile-switch.test index cc3d494..a71682d 100644 --- a/compiler-rt/test/fuzzer/value-profile-switch.test +++ b/compiler-rt/test/fuzzer/value-profile-switch.test @@ -1,4 +1,4 @@ -XFAIL: ios +UNSUPPORTED: ios CHECK: BINGO RUN: %cpp_compiler %S/SwitchTest.cpp -o %t-SwitchTest RUN: %cpp_compiler %S/Switch2Test.cpp -o %t-Switch2Test -- 2.7.4