Bugfix: make check: Only run tests that were compiled (& print correct log on failure)#16228
Bugfix: make check: Only run tests that were compiled (& print correct log on failure)#16228luke-jr wants to merge 2 commits intobitcoin:masterfrom
Conversation
|
Concept ACK, though the ever-complicating knot of shell script is not something I feel confident to review. |
|
I guess the alternative would be to replace those tests with |
|
My guess is to avoid checking for the boost define in the build system. |
|
This doesn't work with Boost 1.47 and makes gitian hang because its boost doesn't support the --list_content option. In search for a better solution, I ended up falling back to basically #16564 Theoretically, we could have configure check the define for us and remove the file entirely, but I'm not sure it's worth the trouble (and doesn't give the user any indication the test was skipped!). |
Now we have minimum Boost 1.64.0. Also this PR makes Maybe reopen? |
|
What is the status of this? Needs conflicts fixed. Needs the CI to run. Also needs the PR description updated. |
97c6bde to
20e6745
Compare
|
Rebased |
|
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
raii_event_tests is not built if EVENT_SET_MEM_FUNCTIONS_IMPLEMENTED is not defined. This would previously cause `make check` to fail. Side effect: Verbose mode will no longer show the test_bitcoin command line.
20e6745 to
3032cf7
Compare
|
Rebased again, and added a fix for a regression introduced by #19385 |
I tried to test this, but failed. |
|
This was already fixed in 091cc4b |
|
Good point. |
raii_event_tests is not built if EVENT_SET_MEM_FUNCTIONS_IMPLEMENTED is not defined.
This would previously cause
make checkto fail.Side effect: Verbose mode will no longer show the test_bitcoin command line.
Edit: Also added a fix for a regression introduced in #19385
(This is a clean merge to 0.20, 0.21, 22.x, 23.x, and master branches)