Page MenuHomePhabricator

qa: Add test/fuzz/test_runner.py
Needs RevisionPublic

Authored by Fabien on Dec 4 2019, 11:51.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Summary
Can be run with ./test/fuzz/test_runner.py after building as described
in doc/fuzzing.md

Backport of core PR15295:
https://github.com/bitcoin/bitcoin/pull/15295/files

Depends on D4615.

Test Plan

Follow the setup instructions from fuzzing.md.

ninja bitcoin-fuzzers link-fuzz-test_runner.py

./test/fuzz/test_runner.py -l DEBUG <path_to_your_corpus>
Check the corpus is run exactly once for all the tests.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR15295
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 8396
Build 14809: Bitcoin ABC Buildbot
Build 14808: arc lint + arc unit

Event Timeline

Fabien created this revision.Dec 4 2019, 11:51
Herald added a reviewer: Restricted Project. · View Herald TranscriptDec 4 2019, 11:51
deadalnix requested changes to this revision.Dec 6 2019, 11:54
deadalnix added inline comments.
doc/fuzzing.md
20

Clearly, this isn't going to cut it.

test/CMakeLists.txt
21

What does this do?

This revision now requires changes to proceed.Dec 6 2019, 11:54
Fabien added inline comments.Dec 10 2019, 22:21
test/CMakeLists.txt
21

The var is used to fill the config.ini used by the test_runner.py scripts to determine which feature has been built.