Boost test macros try to output some message, which leads to a messy
debug output when called in intricated threads.
Use assert in these cases solves the issue.
Backport of Core PR14069
https://github.com/bitcoin/bitcoin/pull/14069/files
Differential D3232
Avoid spurious boost output in scheduler_tests Fabien on Jun 6 2019, 11:14. Authored by
Details
Boost test macros try to output some message, which leads to a messy Backport of Core PR14069 ./src/test/test_bitcoin -t scheduler_tests Without the patch it will sometime output partial boost debug info.
Diff Detail
Event TimelineComment Actions Added a note in the summary that this is a backport. Also consider backporting this as well: https://github.com/bitcoin/bitcoin/pull/14088/files Comment Actions @jasonbcox Thanks for the summary, I missed the backport. Comment Actions I guess one frustrating thing with assert is that it doesn't throw an exception (just kills program without any information), if it happens that these fail for some reason. |