Add a few new rules to cmake:
- bitcoin-util-test will run bitcoin-util-test.py
- check now includes bitcoin-util-test
This mimics the behaviour of make check with autotools
Differential D2494
[CMAKE] Run test/util/bitcoin-util-test.py with ninja check Fabien on Feb 4 2019, 11:07. Authored by
Details
Add a few new rules to cmake:
This mimics the behaviour of make check with autotools mkdir buildcmake && cd buildcmake cmake -GNinja .. ninja bitcoin-util-test ninja check Should return an unknown target error, as bitcoin-tx is required: cmake -DBUILD_BITCOIN_TX=OFF -GNinja .. && ninja bitcoin-util-test Should run the tests but not bitcoin-util-test: cmake -DBUILD_BITCOIN_TX=OFF -GNinja .. && ninja check
Diff Detail
Event Timeline
|