Skip to content

Commit fa858d6

Browse files
author
MarcoFalke
committed
fuzz: Merge with -set_cover_merge=1
1 parent 73dfa6d commit fa858d6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/fuzz/test_runner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,11 @@ def merge_inputs(*, fuzz_pool, corpus, test_list, src_dir, build_dir, merge_dir)
276276
for t in test_list:
277277
args = [
278278
os.path.join(build_dir, 'src', 'test', 'fuzz', 'fuzz'),
279-
'-merge=1',
279+
'-set_cover_merge=1',
280+
# set_cover_merge is used instead of -merge=1 to reduce the overall
281+
# size of the qa-assets git repository a bit, but more importantly,
282+
# to cut the runtime to iterate over all fuzz inputs [0].
283+
# [0] https://github.com/bitcoin-core/qa-assets/issues/130#issuecomment-1761760866
280284
'-shuffle=0',
281285
'-prefer_small=1',
282286
'-use_value_profile=0',

0 commit comments

Comments
 (0)