blob: 45691f5651dd175dcfa6d7fb7cfc893618c8c507 [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