File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,12 @@ RUN: not %run %t-OutOfMemoryTest -fork=1 -fork_corpus_groups=1 -ignore_ooms=0 -
14
14
# access-violation is the error thrown on Windows. Address will be smaller on i386.
15
15
CRASH: {{SEGV|access-violation}} on unknown address 0x00000000
16
16
RUN: %cpp_compiler %S/ShallowOOMDeepCrash.cpp -o %t-ShallowOOMDeepCrash
17
- RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -fork_corpus_groups=1 -rss_limit_mb=128 2>&1 | FileCheck %s --check-prefix=CRASH
17
+ # Run multiple times to deflake. Sometimes rss_limit_mb kill process before SEGV.
18
+ RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -fork_corpus_groups=1 -rss_limit_mb=128 >%t-ShallowOOMDeepCrash.log 2>&1
19
+ RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -fork_corpus_groups=1 -rss_limit_mb=128 >>%t-ShallowOOMDeepCrash.log 2>&1
20
+ RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -fork_corpus_groups=1 -rss_limit_mb=128 >>%t-ShallowOOMDeepCrash.log 2>&1
21
+ RUN: FileCheck %s --check-prefix=CRASH --input-file=%t-ShallowOOMDeepCrash.log
18
22
19
23
MAX_TOTAL_TIME: INFO: fuzzed for {{.*}} seconds, wrapping up soon
20
24
MAX_TOTAL_TIME: INFO: exiting: {{.*}} time:
21
- RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -fork_corpus_groups=1 -rss_limit_mb=128 -ignore_crashes=1 -max_total_time=10 2>&1 | FileCheck %s --check-prefix=MAX_TOTAL_TIME
25
+ RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -fork_corpus_groups=1 -rss_limit_mb=128 -ignore_crashes=1 -max_total_time=30 2>&1 | FileCheck %s --check-prefix=MAX_TOTAL_TIME
You can’t perform that action at this time.
0 commit comments