Skip to content

test: Remove unsafe BOOST_TEST_MESSAGE - #18472

Merged
maflcko merged 1 commit into
bitcoin:masterfrom
maflcko:2003-testNoBoost
Mar 31, 2020
Merged

maflcko merged 1 commit into
bitcoin:masterfrom
maflcko:2003-testNoBoost

Conversation

@maflcko

@maflcko maflcko commented Mar 30, 2020 •

Copy link
Copy Markdown
Member

Fixes #17987

Can be tested with

./src/test/test_bitcoin -l test_suite  -- DEBUG_LOG_OUT

@maflcko

maflcko commented Mar 30, 2020

Copy link
Copy Markdown
Member Author

cc @mzumsande

@maflcko maflcko added this to the 0.20.0 milestone Mar 30, 2020
@DrahtBot

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@fjahr

fjahr commented Mar 30, 2020

Copy link
Copy Markdown
Contributor

tested ACK fa3cc0b

Thank you!

@mzumsande

Copy link
Copy Markdown
Contributor

Tested ACK fa3cc0b

Maybe test/README.md could mention the DEBUG_LOG_OUT option which I find really helpful, and possibly also a warning that BOOST_TEST_MESSAGE, which is mentioned there, is not threadsafe.

@maflcko

maflcko commented Mar 31, 2020

Copy link
Copy Markdown
Member Author

Thanks, I am going to go ahead and merge this bug fix. Will update the docs in a new commit.

@maflcko
maflcko merged commit 72ef366 into bitcoin:master Mar 31, 2020
@maflcko
maflcko deleted the 2003-testNoBoost branch March 31, 2020 19:40
@maflcko

maflcko commented Mar 31, 2020

Copy link
Copy Markdown
Member Author

Done here: #18486

maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Apr 1, 2020
7777703 doc: Explain new test logging (MarcoFalke)

Pull request description:

  Explain logging added in bitcoin#18472 and bitcoin#16975

ACKs for top commit:
  jonatack:
    ACK 7777703

Tree-SHA512: 3a0aa7bab32a6753d8894d29cf82604b044b23e512102dd275b717eefda3c2212dbf43ea7e9155267350dd9f3bc5badba2eb660152db3efeab30a04f52126c95
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unit test validation_block_tests intermittently writes garbage to stdout

4 participants