blob: 51b42d67824be40967071ab93731068a423fc757 [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
15RUN: not ./LLVMFuzzer-FullCoverageSetTest -timeout=15 -mutate_depth=2 -use_full_coverage_set=1 2>&1 | FileCheck %s --check-prefix=FullCoverageSetTest
16FullCoverageSetTest: BINGO