diff options
| author | Kostya Serebryany <kcc@google.com> | 2019-02-15 21:51:15 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2019-02-15 21:51:15 +0000 |
| commit | 9982ee5472f87059cee75146293d0742f95bacc8 (patch) | |
| tree | ac683d4c69d22595ef1823427fef62321d20b28d /compiler-rt/test | |
| parent | 1dcff8d17ca44abb090ed38d3ef70d25c8e3465c (diff) | |
| download | bcm5719-llvm-9982ee5472f87059cee75146293d0742f95bacc8.tar.gz bcm5719-llvm-9982ee5472f87059cee75146293d0742f95bacc8.zip | |
[libFuzzer] form mode: add -ignore_crashes flag, honor the max_total_time flag, print the number of ooms/timeouts/crashes, fix a typo
llvm-svn: 354175
Diffstat (limited to 'compiler-rt/test')
| -rw-r--r-- | compiler-rt/test/fuzzer/fork.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/fork.test b/compiler-rt/test/fuzzer/fork.test index c267bee3fd1..881880e5e13 100644 --- a/compiler-rt/test/fuzzer/fork.test +++ b/compiler-rt/test/fuzzer/fork.test @@ -14,3 +14,7 @@ RUN: not %run %t-OutOfMemoryTest -fork=1 -ignore_ooms=0 -rss_limit_mb=128 2>&1 CRASH: SEGV on unknown address 0x000000000000 RUN: %cpp_compiler %S/ShallowOOMDeepCrash.cpp -o %t-ShallowOOMDeepCrash RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -rss_limit_mb=128 2>&1 | FileCheck %s --check-prefix=CRASH + +MAX_TOTAL_TIME: INFO: fuzzed for {{.*}} seconds, wrapping up soon +MAX_TOTAL_TIME: INFO: exiting: {{.*}} time: +RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -rss_limit_mb=128 -ignore_crashes=1 -max_total_time=5 2>&1 | FileCheck %s --check-prefix=MAX_TOTAL_TIME |

