HomePhabricator

Fix a bug where running test_runner.py --usecli would fail when built without…

Description

Fix a bug where running test_runner.py --usecli would fail when built without bitcoin-cli

Summary:
Introduced in D2696. The existence check for bitcoin-cli did not account for --usecli.

Depends on D5781

Test Plan:

cmake -GNinja -DBUILD_BITCOIN_CLI=OFF ..
test_runner.py

This fails pre-patch and passes post-patch.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
jasonbcoxAuthored on Apr 20 2020, 22:39
jasonbcoxPushed on Apr 20 2020, 23:31
Reviewer
Restricted Project
Differential Revision
D5788: Fix a bug where running test_runner.py --usecli would fail when built without bitcoin-cli
Parents
rSTAGINGbc728213d1bb: Merge #14381: test: Add missing call to skip_if_no_cli()
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/18983, tag: phabricator/base/18981