HomePhabricator

[CMAKE] Fix cmake check-functional dependencies

Authored by Fabien on Feb 4 2019, 15:48.

Description

[CMAKE] Fix cmake check-functional dependencies

Summary: test_runner.py does not need bitcoin-test-util.py to run, but requires bitcoin-cli for some tests.

Test Plan:
Run:

cmake -DBUILD_BITCOIN_CLI=OFF -GNinja .. && ninja check-functional

It should return:
ninja: error: '../src/bitcoin-cli', needed by 'test/CMakeFiles/check-functional', missing and no known rule to make it

Should return no error (clear the cache first):

cmake -GNinja .. && ninja check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

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

Details

Committed
FabienFeb 5 2019, 08:14
Pushed
FabienFeb 5 2019, 08:15
Reviewer
Restricted Project
Differential Revision
D2498: [CMAKE] Fix cmake check-functional dependencies
Parents
rABC300531300aee: ArgsManager: special handling for -regtest and -testnet
Branches
Unknown
Tags
Unknown