HomePhabricator

test/fuzz: add a seed corpus generation option to the test_runner

Description

test/fuzz: add a seed corpus generation option to the test_runner

Summary:

This adds a startup option to test/fuzz/test_runner.py which allows to
generate seed corpus to the passed seed_dir instead of using them.

Backport of core PR19659.

Depends on D8278.

Test Plan:

ninja bitcoin-fuzzers
./test/fuzz/test_runner.py -j 24 -g <new_corpus_path>

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8279

Details

Provenance
Antoine Poinsot <darosior@protonmail.com>Authored on Aug 4 2020, 16:42
FabienCommitted on Nov 6 2020, 16:42
FabienPushed on Nov 6 2020, 16:43
Reviewer
Restricted Project
Differential Revision
D8279: test/fuzz: add a seed corpus generation option to the test_runner
Parents
rABC4d1fdd7ec759: fuzz: Pass down MAKEJOBS to test_runner
Branches
Unknown
Tags
Unknown