Skip to content

Commit bd1bd17

Browse files
authored
[fuzzer][test-only] Bump runs for reduce_inputs.test unseeded run (#169641)
I have seen a failure whereby the fuzzer failed to reach the expected input and thus failed the test. This patch bumps the max executions to 10,000,000 in order to give the fuzzer a better chance of reaching the expected input. Most runs complete successfully, so I do not see this adding test time in the general case; I believe it's a fair tradeoff for the unlucky seed to run for longer if it reduces the noise from false positives. Note, this updates a different `RUN:` to #165402. rdar://162122184
1 parent ec1ea0a commit bd1bd17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/fuzzer/reduce_inputs.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN: rm -rf %t/C
44
RUN: mkdir -p %t/C
55
RUN: %cpp_compiler %S/ShrinkControlFlowSimpleTest.cpp -o %t-ShrinkControlFlowSimpleTest
66
RUN: %cpp_compiler %S/ShrinkControlFlowTest.cpp -o %t-ShrinkControlFlowTest
7-
RUN: %run %t-ShrinkControlFlowSimpleTest -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -runs=1000000 %t/C 2>&1 | FileCheck %s
7+
RUN: %run %t-ShrinkControlFlowSimpleTest -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -runs=10000000 %t/C 2>&1 | FileCheck %s
88
CHECK: INFO: found item with checksum '0eb8e4ed029b774d80f2b66408203801cb982a60'
99

1010
# Test that reduce_inputs deletes redundant files in the corpus.

0 commit comments

Comments
 (0)