-
Notifications
You must be signed in to change notification settings - Fork 37.8k
test: Set catch_system_errors=no on boost unit tests #18183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACK fac52da |
Tested ACK fac52da Before:
After:
|
sidhujag
pushed a commit
to syscoin/syscoin
that referenced
this pull request
Feb 22, 2020
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
deadalnix
pushed a commit
to Bitcoin-ABC/bitcoin-abc
that referenced
this pull request
Oct 21, 2020
Summary: Boost does not handle asserts well in unit tests. Encountering one causes test_bitcoin to hang indefinitely. This may explain the occassional timeouts we're experiencing in CI. See https://www.boost.org/doc/libs/1_68_0/libs/test/doc/html/boost_test/utf_reference/rt_param_reference/catch_system.html Backport of Core [[bitcoin/bitcoin#18183 | PR18183]] Test Plan: Introduce `assert(0);` into a unit test, then: `ninja check` Pre-patch, `ninja check` hangs until killed (Ctrl+C). Post-patch, `ninja check` errors out as expected. Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D8014
deadalnix
pushed a commit
to Bitcoin-ABC/secp256k1
that referenced
this pull request
Oct 22, 2020
Summary: Boost does not handle asserts well in unit tests. Encountering one causes test_bitcoin to hang indefinitely. This may explain the occassional timeouts we're experiencing in CI. See https://www.boost.org/doc/libs/1_68_0/libs/test/doc/html/boost_test/utf_reference/rt_param_reference/catch_system.html Backport of Core [[bitcoin/bitcoin#18183 | PR18183]] Test Plan: Introduce `assert(0);` into a unit test, then: `ninja check` Pre-patch, `ninja check` hangs until killed (Ctrl+C). Post-patch, `ninja check` errors out as expected. Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D8014
sidhujag
pushed a commit
to syscoin-core/syscoin
that referenced
this pull request
Nov 10, 2020
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
PastaPastaPasta
pushed a commit
to PastaPastaPasta/dash
that referenced
this pull request
Jun 27, 2021
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
PastaPastaPasta
pushed a commit
to PastaPastaPasta/dash
that referenced
this pull request
Jun 28, 2021
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
PastaPastaPasta
pushed a commit
to PastaPastaPasta/dash
that referenced
this pull request
Jun 29, 2021
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
PastaPastaPasta
pushed a commit
to PastaPastaPasta/dash
that referenced
this pull request
Jul 1, 2021
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
PastaPastaPasta
pushed a commit
to PastaPastaPasta/dash
that referenced
this pull request
Jul 1, 2021
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
PastaPastaPasta
pushed a commit
to PastaPastaPasta/dash
that referenced
this pull request
Jul 14, 2021
…ests fac52da test: Set catch_system_errors=no on boost unit tests (MarcoFalke) Pull request description: Closes bitcoin#16700 Can be tested by adding an `assert(0)` and then running either `make check` or `./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes` ACKs for top commit: practicalswift: ACK fac52da Empact: Tested ACK bitcoin@fac52da Tree-SHA512: ec00636951b2c1137aaf43610739d78d16f823f7da76a726d47f93b8b089766fb66b21504b3c5413bcf8b6b5c3db0ad74027d677db24a44487d6d79a6bdee2e0
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #16700
Can be tested by adding an
assert(0)
and then running eithermake check
or./src/test/test_bitcoin -t bla_tests --catch_system_errors=no/yes