[compiler-rt] r353777 - [libFuzzer] run the -fork=1 tests only on linux

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 16:29:51 PST 2019


Author: kcc
Date: Mon Feb 11 16:29:51 2019
New Revision: 353777

URL: http://llvm.org/viewvc/llvm-project?rev=353777&view=rev
Log:
[libFuzzer] run the -fork=1 tests only on linux

Added:
    compiler-rt/trunk/test/fuzzer/fork.test
Modified:
    compiler-rt/trunk/test/fuzzer/simple.test

Added: compiler-rt/trunk/test/fuzzer/fork.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/fork.test?rev=353777&view=auto
==============================================================================
--- compiler-rt/trunk/test/fuzzer/fork.test (added)
+++ compiler-rt/trunk/test/fuzzer/fork.test Mon Feb 11 16:29:51 2019
@@ -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

Modified: compiler-rt/trunk/test/fuzzer/simple.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/simple.test?rev=353777&r1=353776&r2=353777&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/simple.test (original)
+++ compiler-rt/trunk/test/fuzzer/simple.test Mon Feb 11 16:29:51 2019
@@ -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




More information about the llvm-commits mailing list