summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/fuzzer/fuzzer-dict.test
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/fuzzer/fuzzer-dict.test')
-rw-r--r--compiler-rt/test/fuzzer/fuzzer-dict.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/fuzzer-dict.test b/compiler-rt/test/fuzzer/fuzzer-dict.test
new file mode 100644
index 00000000000..48c91dc1d6f
--- /dev/null
+++ b/compiler-rt/test/fuzzer/fuzzer-dict.test
@@ -0,0 +1,8 @@
+RUN: %cpp_compiler %S/SimpleDictionaryTest.cpp -o %t-SimpleDictionaryTest
+
+CHECK: BINGO
+Done1000000: Done 1000000 runs in
+
+RUN: not %t-SimpleDictionaryTest -dict=%S/dict1.txt -seed=1 -runs=1000003 2>&1 | FileCheck %s
+RUN: %t-SimpleDictionaryTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
+
OpenPOWER on IntegriCloud