summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-10-02 20:47:55 +0000
committerKostya Serebryany <kcc@google.com>2015-10-02 20:47:55 +0000
commitb85db178a08611df3c50ed6ad780cd1ee639c22f (patch)
tree2ce1217beeb7e2171a1311fd020bfebdcb764d3f /llvm/lib/Fuzzer/test
parent266b38ab565c46c5cf7fcc6e106d98d7f7256ff7 (diff)
downloadbcm5719-llvm-b85db178a08611df3c50ed6ad780cd1ee639c22f.tar.gz
bcm5719-llvm-b85db178a08611df3c50ed6ad780cd1ee639c22f.zip
[libFuzzer] add a flag -max_total_time
llvm-svn: 249181
Diffstat (limited to 'llvm/lib/Fuzzer/test')
-rw-r--r--llvm/lib/Fuzzer/test/fuzzer.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/fuzzer.test b/llvm/lib/Fuzzer/test/fuzzer.test
index 29bd8071000..046c377206d 100644
--- a/llvm/lib/Fuzzer/test/fuzzer.test
+++ b/llvm/lib/Fuzzer/test/fuzzer.test
@@ -7,6 +7,9 @@ RUN: not LLVMFuzzer-InfiniteTest -timeout=2 2>&1 | FileCheck %s --check-prefix=I
InfiniteTest: ALARM: working on the last Unit for
InfiniteTest: Test unit written to timeout-
+RUN: LLVMFuzzer-SimpleCmpTest -max_total_time=1 2>&1 | FileCheck %s --check-prefix=MaxTotalTime
+MaxTotalTime: Done {{.*}} runs in {{.}} second(s)
+
RUN: not LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
TimeoutTest: ALARM: working on the last Unit for
TimeoutTest: Test unit written to timeout-
OpenPOWER on IntegriCloud