blob: f27be80a192139749599076995f337bf05fc6b44 [file] [log] [blame]
Kostya Serebryanya407dde2015-05-07 00:11:33 +00001CHECK: BINGO
2
3RUN: ./LLVMFuzzer-SimpleTest 2>&1 | FileCheck %s
Aaron Ballmanef116982015-01-29 16:58:29 +00004
5RUN: not ./LLVMFuzzer-InfiniteTest -timeout=2 2>&1 | FileCheck %s --check-prefix=InfiniteTest
6InfiniteTest: ALARM: working on the last Unit for
Kostya Serebryany490bbd62015-05-19 22:12:57 +00007InfiniteTest: CRASHED; file written to timeout
Aaron Ballmanef116982015-01-29 16:58:29 +00008
9RUN: not ./LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
10TimeoutTest: ALARM: working on the last Unit for
11TimeoutTest: CRASHED; file written to timeout
12
13RUN: not ./LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
14NullDerefTest: CRASHED; file written to crash-
Kostya Serebryany2c1b33b2015-01-29 23:01:07 +000015
Kostya Serebryanya407dde2015-05-07 00:11:33 +000016RUN: not ./LLVMFuzzer-FullCoverageSetTest -timeout=15 -seed=1 -mutate_depth=2 -use_full_coverage_set=1 2>&1 | FileCheck %s
Kostya Serebryany2e3622b2015-02-20 03:02:37 +000017
Kostya Serebryanya407dde2015-05-07 00:11:33 +000018RUN: not ./LLVMFuzzer-FourIndependentBranchesTest -timeout=15 -seed=1 -use_coverage_pairs=1 2>&1 | FileCheck %s
Kostya Serebryanybe5e0ed2015-03-03 23:27:02 +000019
Kostya Serebryanya407dde2015-05-07 00:11:33 +000020RUN: not ./LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s
Kostya Serebryany16d03bd2015-03-30 22:09:51 +000021
Kostya Serebryanyd8c54722015-05-12 01:58:34 +000022RUN: not ./LLVMFuzzer-DFSanSimpleCmpTest-DFSan -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileCheck %s
Kostya Serebryany5a99ecb2015-05-11 20:51:19 +000023RUN: not ./LLVMFuzzer-DFSanSimpleCmpTest -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileCheck %s
Kostya Serebryany52a788e2015-03-31 20:13:20 +000024
Kostya Serebryanyd8c54722015-05-12 01:58:34 +000025RUN: not ./LLVMFuzzer-DFSanMemcmpTest-DFSan -use_traces=1 -seed=1 -runs=100 -timeout=5 2>&1 | FileCheck %s
Kostya Serebryanya407dde2015-05-07 00:11:33 +000026
27RUN: not ./LLVMFuzzer-CxxTokensTest -seed=1 -timeout=15 -tokens=%S/../cxx_fuzzer_tokens.txt 2>&1 | FileCheck %s
28
Kostya Serebryanyf3424592015-05-22 22:35:31 +000029RUN: not ./LLVMFuzzer-UserSuppliedFuzzerTest -seed=1 -timeout=15 2>&1 | FileCheck %s
30