summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/fuzzer.test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-10-16 23:04:31 +0000
committerKostya Serebryany <kcc@google.com>2015-10-16 23:04:31 +0000
commitd6edce97fb762b69f6f63c456b764c25386f7543 (patch)
tree294cff515f7d09553c33516698cc6967dbe94d97 /llvm/lib/Fuzzer/test/fuzzer.test
parentb43d33bf0fee62317cc24239c77ae0f05fdb40f2 (diff)
downloadbcm5719-llvm-d6edce97fb762b69f6f63c456b764c25386f7543.tar.gz
bcm5719-llvm-d6edce97fb762b69f6f63c456b764c25386f7543.zip
[libFuzzer] print a stack trace on timeout
llvm-svn: 250571
Diffstat (limited to 'llvm/lib/Fuzzer/test/fuzzer.test')
-rw-r--r--llvm/lib/Fuzzer/test/fuzzer.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/fuzzer.test b/llvm/lib/Fuzzer/test/fuzzer.test
index dccc5e48250..1c29c75d85a 100644
--- a/llvm/lib/Fuzzer/test/fuzzer.test
+++ b/llvm/lib/Fuzzer/test/fuzzer.test
@@ -14,6 +14,11 @@ 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-
+TimeoutTest: == ERROR: libFuzzer: timeout after
+TimeoutTest: #0
+TimeoutTest: #1
+TimeoutTest: #2
+TimeoutTest: SUMMARY: libFuzzer: timeout
RUN: not LLVMFuzzer-TimeoutTest -timeout=5 -test_single_input=%S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInputTimeoutTest
SingleInputTimeoutTest: ALARM: working on the last Unit for
OpenPOWER on IntegriCloud