blob: 9bd3c71d3df0f69fbe2f04dec4ce582b6e43f172 [file] [log] [blame]
Kostya Serebryanya407dde2015-05-07 00:11:33 +00001CHECK: BINGO
2
Alexey Samsonov4800c2d2015-07-21 22:51:55 +00003RUN: LLVMFuzzer-SimpleTest 2>&1 | FileCheck %s
Ivan Krasin95e82d52015-10-01 23:23:06 +00004RUN: LLVMFuzzer-SimpleTest -test_single_input=%S/hi.txt 2>&1 | FileCheck %s
Aaron Ballmanef116982015-01-29 16:58:29 +00005
Alexey Samsonov4800c2d2015-07-21 22:51:55 +00006RUN: not LLVMFuzzer-InfiniteTest -timeout=2 2>&1 | FileCheck %s --check-prefix=InfiniteTest
Aaron Ballmanef116982015-01-29 16:58:29 +00007InfiniteTest: ALARM: working on the last Unit for
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +00008InfiniteTest: Test unit written to timeout-
Aaron Ballmanef116982015-01-29 16:58:29 +00009
Kostya Serebryanyb85db172015-10-02 20:47:55 +000010RUN: LLVMFuzzer-SimpleCmpTest -max_total_time=1 2>&1 | FileCheck %s --check-prefix=MaxTotalTime
11MaxTotalTime: Done {{.*}} runs in {{.}} second(s)
12
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000013RUN: not LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
Aaron Ballmanef116982015-01-29 16:58:29 +000014TimeoutTest: ALARM: working on the last Unit for
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +000015TimeoutTest: Test unit written to timeout-
Aaron Ballmanef116982015-01-29 16:58:29 +000016
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000017RUN: not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +000018NullDerefTest: Test unit written to crash-
Kostya Serebryany2c1b33b2015-01-29 23:01:07 +000019
Kostya Serebryany65d0a142015-10-02 22:00:32 +000020#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 +000021
Kostya Serebryany65d0a142015-10-02 22:00:32 +000022#not LLVMFuzzer-FourIndependentBranchesTest -timeout=15 -seed=1 -use_traces=1 2>&1 | FileCheck %s
Kostya Serebryanybe5e0ed2015-03-03 23:27:02 +000023
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000024RUN: not LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s
Kostya Serebryany16d03bd2015-03-30 22:09:51 +000025
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000026RUN: not LLVMFuzzer-SimpleCmpTest -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileCheck %s
Kostya Serebryanya407dde2015-05-07 00:11:33 +000027
Kostya Serebryany6ea1b692015-09-02 23:27:39 +000028RUN: not LLVMFuzzer-CxxTokensTest -seed=1 -timeout=15 -deprecated_tokens=%S/../cxx_fuzzer_tokens.txt 2>&1 | FileCheck %s
Kostya Serebryanya407dde2015-05-07 00:11:33 +000029
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000030RUN: not LLVMFuzzer-UserSuppliedFuzzerTest -seed=1 -timeout=15 2>&1 | FileCheck %s
Kostya Serebryanyf3424592015-05-22 22:35:31 +000031
Kostya Serebryany12c78372015-08-12 01:55:37 +000032RUN: not LLVMFuzzer-MemcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryany0e776a22015-07-30 01:34:58 +000033RUN: LLVMFuzzer-MemcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
34Done1000000: Done 1000000 runs in
Kostya Serebryanyb74ba422015-07-30 02:33:45 +000035
Kostya Serebryany12c78372015-08-12 01:55:37 +000036RUN: not LLVMFuzzer-StrncmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryanyb74ba422015-07-30 02:33:45 +000037RUN: LLVMFuzzer-StrncmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
Kostya Serebryanyfb7d8d92015-07-31 01:33:06 +000038
Kostya Serebryany12c78372015-08-12 01:55:37 +000039RUN: not LLVMFuzzer-StrcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryany7f4227d2015-08-05 18:23:01 +000040RUN: LLVMFuzzer-StrcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
41
Kostya Serebryanyfe7e41e2015-07-31 20:58:55 +000042RUN: not LLVMFuzzer-SwitchTest -use_traces=1 -seed=1 -runs=1000000 2>&1 | FileCheck %s
Kostya Serebryanyfb7d8d92015-07-31 01:33:06 +000043RUN: LLVMFuzzer-SwitchTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
Kostya Serebryany7d211662015-09-04 00:12:11 +000044
45RUN: not LLVMFuzzer-SimpleDictionaryTest -dict=%S/dict1.txt -seed=1 -runs=1000000 2>&1 | FileCheck %s
46RUN: LLVMFuzzer-SimpleDictionaryTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
Ivan Krasina610cb52015-09-08 21:22:52 +000047
48RUN: not LLVMFuzzer-SimpleHashTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
49RUN: LLVMFuzzer-SimpleHashTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000