blob: 3b8cf09a9a914079335aeb6b08a0ac8e41ee9992 [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
Aaron Ballmanef116982015-01-29 16:58:29 +00004
Alexey Samsonov4800c2d2015-07-21 22:51:55 +00005RUN: not LLVMFuzzer-InfiniteTest -timeout=2 2>&1 | FileCheck %s --check-prefix=InfiniteTest
Aaron Ballmanef116982015-01-29 16:58:29 +00006InfiniteTest: ALARM: working on the last Unit for
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +00007InfiniteTest: Test unit written to timeout-
Aaron Ballmanef116982015-01-29 16:58:29 +00008
Alexey Samsonov4800c2d2015-07-21 22:51:55 +00009RUN: not LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
Aaron Ballmanef116982015-01-29 16:58:29 +000010TimeoutTest: ALARM: working on the last Unit for
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +000011TimeoutTest: Test unit written to timeout-
Aaron Ballmanef116982015-01-29 16:58:29 +000012
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000013RUN: not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
Kostya Serebryany2b7d2e92015-07-23 18:37:22 +000014NullDerefTest: Test unit written to crash-
Kostya Serebryany2c1b33b2015-01-29 23:01:07 +000015
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000016RUN: 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 +000017
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000018RUN: not LLVMFuzzer-FourIndependentBranchesTest -timeout=15 -seed=1 -use_full_coverage_set=1 2>&1 | FileCheck %s
Kostya Serebryanybe5e0ed2015-03-03 23:27:02 +000019
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000020RUN: not LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s
Kostya Serebryany16d03bd2015-03-30 22:09:51 +000021
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000022RUN: not LLVMFuzzer-SimpleCmpTest -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileCheck %s
Kostya Serebryanya407dde2015-05-07 00:11:33 +000023
Kostya Serebryany6ea1b692015-09-02 23:27:39 +000024RUN: 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 +000025
Alexey Samsonov4800c2d2015-07-21 22:51:55 +000026RUN: not LLVMFuzzer-UserSuppliedFuzzerTest -seed=1 -timeout=15 2>&1 | FileCheck %s
Kostya Serebryanyf3424592015-05-22 22:35:31 +000027
Kostya Serebryany12c78372015-08-12 01:55:37 +000028RUN: not LLVMFuzzer-MemcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryany0e776a22015-07-30 01:34:58 +000029RUN: LLVMFuzzer-MemcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
30Done1000000: Done 1000000 runs in
Kostya Serebryanyb74ba422015-07-30 02:33:45 +000031
Kostya Serebryany12c78372015-08-12 01:55:37 +000032RUN: not LLVMFuzzer-StrncmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryanyb74ba422015-07-30 02:33:45 +000033RUN: LLVMFuzzer-StrncmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
Kostya Serebryanyfb7d8d92015-07-31 01:33:06 +000034
Kostya Serebryany12c78372015-08-12 01:55:37 +000035RUN: not LLVMFuzzer-StrcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
Kostya Serebryany7f4227d2015-08-05 18:23:01 +000036RUN: LLVMFuzzer-StrcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
37
Kostya Serebryanyfe7e41e2015-07-31 20:58:55 +000038RUN: not LLVMFuzzer-SwitchTest -use_traces=1 -seed=1 -runs=1000000 2>&1 | FileCheck %s
Kostya Serebryanyfb7d8d92015-07-31 01:33:06 +000039RUN: LLVMFuzzer-SwitchTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000