summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/fuzzer.test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-05-26 20:03:02 +0000
committerKostya Serebryany <kcc@google.com>2016-05-26 20:03:02 +0000
commitf1f3f93c9efe6a409bc79d17cd8be1f860a758b4 (patch)
treef5eae3a76f6a660a59c9efb65099478230a9752d /llvm/lib/Fuzzer/test/fuzzer.test
parent4a59a34597f49665faf351d6ee65515aa5fb86da (diff)
downloadbcm5719-llvm-f1f3f93c9efe6a409bc79d17cd8be1f860a758b4.tar.gz
bcm5719-llvm-f1f3f93c9efe6a409bc79d17cd8be1f860a758b4.zip
[libFuzzer] reimplement the way we do -only_ascii to allow more 'const' in function declarations. Add a test for -only_ascii. NFC intended
llvm-svn: 270900
Diffstat (limited to 'llvm/lib/Fuzzer/test/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 8c5d148c725..cff7d6f74bc 100644
--- a/llvm/lib/Fuzzer/test/fuzzer.test
+++ b/llvm/lib/Fuzzer/test/fuzzer.test
@@ -5,6 +5,9 @@ RUN: LLVMFuzzer-SimpleTest 2>&1 | FileCheck %s
RUN: not LLVMFuzzer-NullDerefTest %S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInput
SingleInput-NOT: Test unit written to ./crash-
+# only_ascii mode. Will perform some minimal self-validation.
+RUN: LLVMFuzzer-SimpleTest -only_ascii=1 2>&1
+
RUN: LLVMFuzzer-SimpleCmpTest -max_total_time=1 2>&1 | FileCheck %s --check-prefix=MaxTotalTime
MaxTotalTime: Done {{.*}} runs in {{.}} second(s)
OpenPOWER on IntegriCloud