This diff adds the printtoconsole=1 option to the unit tests that are run via ninja.
Currently only boost content is part of the resulting log, which can be not enough to properly debug a failure. Now upon failure the output is much more verbose, but also more useful.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABCa7ca07264935: Interleave the debug.log with the unit test log when run via ninja
Edit any test with BOOST_CHECK(false) and run that test via ninja:
ninja check-bitcoin-<test>
Check that stdout and test/log/<test_name>.log contain the debug.log content.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- print_test_to_console
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 30374 Build 60268: Build Diff build-diff · build-debug · build-clang-tidy · build-clang · build-without-wallet · lint-circular-dependencies Build 60267: arc lint + arc unit