See Upstream docs for specifics.
Unfortunately, this seems to have no effect when directly executing ctest
:(
This brings the test -> hack -> test cycle more inline with how it worked with autotools.
With CMAKE_SKIP_TEST_ALL_DEPENDENCY
set to FALSE, make test
will trigger a rebuild, ensuring that test binaries are current before running them.
To test:
0cmake -S . -B build
1make -C build -j24
2touch src/primitives/transaction.cpp
3make -C build test ARGS=-j24
Without this commit, the above will not rebuild before running tests.