Page MenuHomePhabricator

[CMAKE] Fix cmake check-functional dependencies
ClosedPublic

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

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC1f651f46bcb8: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Feb 4 2019, 15:54
Herald added a reviewer: Restricted Project. · View Herald TranscriptFeb 4 2019, 15:54
Herald added a subscriber: schancel. · View Herald Transcript
Fabien planned changes to this revision.Feb 4 2019, 16:07
Fabien retitled this revision from [CMAKE] Remove useless dependency to bitcoin-test-util for test_runner to [CMAKE] Fix cmake check-functional dependencies.Feb 4 2019, 16:15
Fabien edited the summary of this revision. (Show Details)
Fabien edited the test plan for this revision. (Show Details)
Fabien updated this revision to Diff 7166.Feb 4 2019, 16:16

Also add bitcoin-cli dependency

deadalnix accepted this revision.Feb 4 2019, 16:36
This revision is now accepted and ready to land.Feb 4 2019, 16:36
This revision was automatically updated to reflect the committed changes.