summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2019-02-12 00:29:51 +0000
committerKostya Serebryany <kcc@google.com>2019-02-12 00:29:51 +0000
commit8cc38effe2a3ddb84c5d900c80f476dd17583a98 (patch)
treeb95e9fb6921d4d8bb4252c72bf5ca2276dcf04f3 /compiler-rt/test
parent5292a3b6aaed7f3902fdd5add841e9613a036120 (diff)
downloadbcm5719-llvm-8cc38effe2a3ddb84c5d900c80f476dd17583a98.tar.gz
bcm5719-llvm-8cc38effe2a3ddb84c5d900c80f476dd17583a98.zip
[libFuzzer] run the -fork=1 tests only on linux
llvm-svn: 353777
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/fuzzer/fork.test5
-rw-r--r--compiler-rt/test/fuzzer/simple.test1
2 files changed, 5 insertions, 1 deletions
diff --git a/compiler-rt/test/fuzzer/fork.test b/compiler-rt/test/fuzzer/fork.test
new file mode 100644
index 00000000000..8ce543c2c76
--- /dev/null
+++ b/compiler-rt/test/fuzzer/fork.test
@@ -0,0 +1,5 @@
+# REQUIRES: linux
+CHECK: BINGO
+RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
+
+RUN: not %run %t-SimpleTest -fork=1 2>&1 | FileCheck %s
diff --git a/compiler-rt/test/fuzzer/simple.test b/compiler-rt/test/fuzzer/simple.test
index 8fbdf256882..054afdb85cb 100644
--- a/compiler-rt/test/fuzzer/simple.test
+++ b/compiler-rt/test/fuzzer/simple.test
@@ -2,7 +2,6 @@ CHECK: BINGO
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
RUN: not %run %t-SimpleTest 2>&1 | FileCheck %s
-RUN: not %run %t-SimpleTest -fork=1 2>&1 | FileCheck %s
# only_ascii mode. Will perform some minimal self-validation.
RUN: not %run %t-SimpleTest -only_ascii=1 2>&1
OpenPOWER on IntegriCloud