summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-07-19 23:52:54 +0000
committerKostya Serebryany <kcc@google.com>2017-07-19 23:52:54 +0000
commitf1bafd9bf6d9b7dae50bc469ab3520f813f546d3 (patch)
treed0aad791e52286a69029db8653ebfd0e09a75fc3 /llvm/lib/Fuzzer
parent77da6f167c6ec98b758c2d45fff5ce8ee1b0a232 (diff)
downloadbcm5719-llvm-f1bafd9bf6d9b7dae50bc469ab3520f813f546d3.tar.gz
bcm5719-llvm-f1bafd9bf6d9b7dae50bc469ab3520f813f546d3.zip
[libFuzzer] simplify two more tests
llvm-svn: 308560
Diffstat (limited to 'llvm/lib/Fuzzer')
-rw-r--r--llvm/lib/Fuzzer/test/caller-callee.test2
-rw-r--r--llvm/lib/Fuzzer/test/reduce_inputs.test4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Fuzzer/test/caller-callee.test b/llvm/lib/Fuzzer/test/caller-callee.test
index 76a951c5e0e..651b57d8ac4 100644
--- a/llvm/lib/Fuzzer/test/caller-callee.test
+++ b/llvm/lib/Fuzzer/test/caller-callee.test
@@ -1,2 +1,2 @@
CHECK: BINGO
-RUN: not LLVMFuzzer-CallerCalleeTest -use_value_profile=1 -cross_over=0 -max_len=6 -seed=1 -runs=10000000 2>&1 | FileCheck %s
+RUN: not LLVMFuzzer-CallerCalleeTest -use_value_profile=1 -cross_over=0 -seed=1 -runs=10000000 2>&1 | FileCheck %s
diff --git a/llvm/lib/Fuzzer/test/reduce_inputs.test b/llvm/lib/Fuzzer/test/reduce_inputs.test
index 5ce4440788f..833b1cce79b 100644
--- a/llvm/lib/Fuzzer/test/reduce_inputs.test
+++ b/llvm/lib/Fuzzer/test/reduce_inputs.test
@@ -2,7 +2,7 @@
RUN: rm -rf %t/C
RUN: mkdir -p %t/C
-RUN: LLVMFuzzer-ShrinkControlFlowSimpleTest -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -reduce_inputs=1 -runs=1000000 %t/C 2>&1 | FileCheck %s
+RUN: LLVMFuzzer-ShrinkControlFlowSimpleTest -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -runs=1000000 %t/C 2>&1 | FileCheck %s
CHECK: INFO: found item with checksum '0eb8e4ed029b774d80f2b66408203801cb982a60'
# Test that reduce_inputs deletes redundant files in the corpus.
@@ -10,5 +10,5 @@ RUN: LLVMFuzzer-ShrinkControlFlowSimpleTest -runs=0 %t/C 2>&1 | FileCheck %s --c
COUNT: READ units: 3
# a bit longer test
-RUN: LLVMFuzzer-ShrinkControlFlowTest -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -seed=1 -reduce_inputs=1 -runs=1000000 2>&1 | FileCheck %s
+RUN: LLVMFuzzer-ShrinkControlFlowTest -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -seed=1 -runs=1000000 2>&1 | FileCheck %s
OpenPOWER on IntegriCloud