aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2018-04-20 06:46:19 +0000
committerDan Liew <dan@su-root.co.uk>2018-04-20 06:46:19 +0000
commit8ba3c90b503e21c80d3a2ad8270bd93bb1257df0 (patch)
treea0191ae171dbfac55294e0ba5e71c917016f1c31 /test
parent1fe2897b928694f85f35e6435c58d277c43c6411 (diff)
[LibFuzzer] Report when custom counters are available.
This upstreams a feature from the JFS solver's fork of LibFuzzer. Differential Revision: https://reviews.llvm.org/D45675 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@330391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/fuzzer/extra-counters.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzzer/extra-counters.test b/test/fuzzer/extra-counters.test
index 230f74a1b..485410dcb 100644
--- a/test/fuzzer/extra-counters.test
+++ b/test/fuzzer/extra-counters.test
@@ -2,6 +2,7 @@ REQUIRES: linux
RUN: %cpp_compiler %S/TableLookupTest.cpp -o %t-TableLookupTest
RUN: not %t-TableLookupTest -print_final_stats=1 2>&1 | FileCheck %s
+CHECK: INFO: {{[0-9]+}} Extra Counters
CHECK: BINGO
// Expecting >= 4096 new_units_added
CHECK: stat::new_units_added:{{.*[4][0-9][0-9][0-9]}}