blob: 2a0e95fbea2b0c3c22668a0d40b88facbe8c2440 [file] [log] [blame]
Aaron Ballmanef116982015-01-29 16:58:29 +00001RUN: ./LLVMFuzzer-SimpleTest 2>&1 | FileCheck %s --check-prefix=SimpleTest
2SimpleTest: Found the target, exiting
3
4RUN: not ./LLVMFuzzer-InfiniteTest -timeout=2 2>&1 | FileCheck %s --check-prefix=InfiniteTest
5InfiniteTest: ALARM: working on the last Unit for
6InfiniteTest-NOT: CRASHED; file written to timeout
7
8RUN: not ./LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
9TimeoutTest: ALARM: working on the last Unit for
10TimeoutTest: CRASHED; file written to timeout
11
12RUN: not ./LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
13NullDerefTest: CRASHED; file written to crash-
Kostya Serebryany2c1b33b2015-01-29 23:01:07 +000014
Kostya Serebryany2e3622b2015-02-20 03:02:37 +000015RUN: not ./LLVMFuzzer-FullCoverageSetTest -timeout=15 -seed=1 -mutate_depth=2 -use_full_coverage_set=1 2>&1 | FileCheck %s --check-prefix=FullCoverageSetTest
Kostya Serebryany2c1b33b2015-01-29 23:01:07 +000016FullCoverageSetTest: BINGO
Kostya Serebryany2e3622b2015-02-20 03:02:37 +000017
18RUN: not ./LLVMFuzzer-FourIndependentBranchesTest -timeout=15 -seed=1 -use_coverage_pairs=1 2>&1 | FileCheck %s --check-prefix=FourIndependentBranchesTest
19FourIndependentBranchesTest: BINGO
Kostya Serebryanybe5e0ed2015-03-03 23:27:02 +000020
21RUN: not ./LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s --check-prefix=CounterTest
22CounterTest: BINGO
Kostya Serebryany16d03bd2015-03-30 22:09:51 +000023
24RUN: not ./LLVMFuzzer-DFSanSimpleCmpTest -seed=1 -timeout=15 2>&1 | FileCheck %s --check-prefix=DFSanSimpleCmpTest
25DFSanSimpleCmpTest: Found the target:
Kostya Serebryany52a788e2015-03-31 20:13:20 +000026
27RUN: not ./LLVMFuzzer-CxxTokensTest -seed=1 -timeout=15 -tokens=%S/../cxx_fuzzer_tokens.txt 2>&1 | FileCheck %s --check-prefix=CxxTokensTest
28CxxTokensTest: Found the target, exiting