blob: 29bd8071000003f05a9782057a28fbfaafdc7431 [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
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000010RUN: not LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
Aaron Ballmanef116982015-01-29 16:58:29 +000011TimeoutTest: ALARM: working on the last Unit for
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +000012TimeoutTest: Test unit written to timeout-
Aaron Ballmanef116982015-01-29 16:58:29 +000013
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000014RUN: not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +000015NullDerefTest: Test unit written to crash-
Kostya Serebryany2c1b33b2015-01-29 23:01:07 +000016
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000017RUN: 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 +000018
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000019RUN: not LLVMFuzzer-FourIndependentBranchesTest -timeout=15 -seed=1 -use_full_coverage_set=1 2>&1 | FileCheck %s
Kostya Serebryanybe5e0ed2015-03-03 23:27:02 +000020
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000021RUN: not LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s
Kostya Serebryany16d03bd2015-03-30 22:09:51 +000022
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000023RUN: not LLVMFuzzer-SimpleCmpTest -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileCheck %s
Kostya Serebryanya407dde2015-05-07 00:11:33 +000024
Kostya Serebryany6ea1b692015-09-02 23:27:39 +000025RUN: 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 +000026
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000027RUN: not LLVMFuzzer-UserSuppliedFuzzerTest -seed=1 -timeout=15 2>&1 | FileCheck %s
Kostya Serebryanyf3424592015-05-22 22:35:31 +000028
Kostya Serebryany12c78372015-08-12 01:55:37 +000029RUN: not LLVMFuzzer-MemcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryany0e776a22015-07-30 01:34:58 +000030RUN: LLVMFuzzer-MemcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
31Done1000000: Done 1000000 runs in
Kostya Serebryanyb74ba422015-07-30 02:33:45 +000032
Kostya Serebryany12c78372015-08-12 01:55:37 +000033RUN: not LLVMFuzzer-StrncmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryanyb74ba422015-07-30 02:33:45 +000034RUN: LLVMFuzzer-StrncmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
Kostya Serebryanyfb7d8d92015-07-31 01:33:06 +000035
Kostya Serebryany12c78372015-08-12 01:55:37 +000036RUN: not LLVMFuzzer-StrcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryany7f4227d2015-08-05 18:23:01 +000037RUN: LLVMFuzzer-StrcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
38
Kostya Serebryanyfe7e41e2015-07-31 20:58:55 +000039RUN: not LLVMFuzzer-SwitchTest -use_traces=1 -seed=1 -runs=1000000 2>&1 | FileCheck %s
Kostya Serebryanyfb7d8d92015-07-31 01:33:06 +000040RUN: LLVMFuzzer-SwitchTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
Kostya Serebryany7d211662015-09-04 00:12:11 +000041
42RUN: not LLVMFuzzer-SimpleDictionaryTest -dict=%S/dict1.txt -seed=1 -runs=1000000 2>&1 | FileCheck %s
43RUN: LLVMFuzzer-SimpleDictionaryTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
Ivan Krasina610cb52015-09-08 21:22:52 +000044
45RUN: not LLVMFuzzer-SimpleHashTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
46RUN: LLVMFuzzer-SimpleHashTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000