Skip to content

Commit

Permalink
fuzz: Introduce BITCOINFUZZ environment variable
Browse files Browse the repository at this point in the history
The `BITCOINFUZZ` environment variable allows to override the default
path to the fuzz binary.

It complements the already existing set of variables used by tests:
 - BITCOIND
 - BITCOINCLI
 - BITCOINUTIL
 - BITCOINWALLET
  • Loading branch information
hebasto committed Apr 6, 2024
1 parent 1573e9a commit 47cedee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fuzz/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def main():
logging.error("Must have fuzz executable built")
sys.exit(1)

fuzz_bin=os.path.join(config["environment"]["BUILDDIR"], 'src', 'test', 'fuzz', 'fuzz')
fuzz_bin=os.getenv("BITCOINFUZZ", default=os.path.join(config["environment"]["BUILDDIR"], 'src', 'test', 'fuzz', 'fuzz'))

# Build list of tests
test_list_all = parse_test_list(
Expand Down

0 comments on commit 47cedee

Please sign in to comment.