summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-07-28 01:25:00 +0000
committerKostya Serebryany <kcc@google.com>2015-07-28 01:25:00 +0000
commitae7df1ca4db5643faae83d7d69d386ab12ea75a2 (patch)
tree6fbdbefe84d6a9578191ea2e95994e74a5a4ffd9 /llvm/lib/Fuzzer/test
parent2832ce95a50e2f6702c40bcc7a703b0b59ca9969 (diff)
downloadbcm5719-llvm-ae7df1ca4db5643faae83d7d69d386ab12ea75a2.tar.gz
bcm5719-llvm-ae7df1ca4db5643faae83d7d69d386ab12ea75a2.zip
[libFuzzer] ensure that the dfsan tracing hooks actually run (using -verbosity=3 in tests)
llvm-svn: 243365
Diffstat (limited to 'llvm/lib/Fuzzer/test')
-rw-r--r--llvm/lib/Fuzzer/test/fuzzer-dfsan.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/fuzzer-dfsan.test b/llvm/lib/Fuzzer/test/fuzzer-dfsan.test
index 7802e612c85..c8dac945581 100644
--- a/llvm/lib/Fuzzer/test/fuzzer-dfsan.test
+++ b/llvm/lib/Fuzzer/test/fuzzer-dfsan.test
@@ -1,6 +1,9 @@
CHECK: BINGO
+CHECK_DFSanCmpCallback: DFSanCmpCallback: PC
RUN: not LLVMFuzzer-SimpleCmpTest-DFSan -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileCheck %s
+RUN: LLVMFuzzer-SimpleCmpTest-DFSan -use_traces=1 -seed=1 -runs=100 -timeout=5 -verbosity=3 2>&1 | FileCheck %s -check-prefix=CHECK_DFSanCmpCallback
RUN: not LLVMFuzzer-MemcmpTest-DFSan -use_traces=1 -seed=1 -runs=100 -timeout=5 2>&1 | FileCheck %s
+RUN: LLVMFuzzer-MemcmpTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1 | FileCheck %s -check-prefix=CHECK_DFSanCmpCallback
OpenPOWER on IntegriCloud