test: Set catch_system_errors=no on boost unit tests #18183

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2002-testNoCatchSystemErrors changing 1 files +1 −1
  1. MarcoFalke commented at 0:17 am on February 20, 2020: member

    Closes #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

  2. test: Set catch_system_errors=no on boost unit tests fac52dafa0
  3. MarcoFalke added the label Tests on Feb 20, 2020
  4. practicalswift commented at 7:08 am on February 20, 2020: contributor
    ACK fac52dafa013047b051ca7163cc30ac69ad35531
  5. Empact commented at 8:55 pm on February 21, 2020: member

    Tested ACK https://github.com/bitcoin/bitcoin/pull/18183/commits/fac52dafa013047b051ca7163cc30ac69ad35531

    Before: Hangs until ^C:

    0Running tests: bip32_tests from test/bip32_tests.cpp
    1Running tests: coinselector_tests from wallet/test/coinselector_tests.cpp
    2Running tests: init_tests from wallet/test/init_tests.cpp
    3Running tests: ismine_tests from wallet/test/ismine_tests.cpp
    4Running tests: scriptpubkeyman_tests from wallet/test/scriptpubkeyman_tests.cpp
    5^Cmake[3]: *** [test/bip32_tests.cpp.test] Interrupt: 2
    6make[2]: *** [check-am] Interrupt: 2
    7make[1]: *** [check-recursive] Interrupt: 2
    8make: *** [check-recursive] Interrupt: 2
    

    After:

    0Entering test module "Bitcoin Core Test Suite"
    1test/bip32_tests.cpp:125: Entering test suite "bip32_tests"
    2test/bip32_tests.cpp:127: Entering test case "bip32_test1"
    32020-02-21T20:35:52Z Seed: Setting random seed for current tests to RANDOM_CTX_SEED=5a95da1e08216910a312eaf42a405485103a7e3e8128995bc2eb93fdff142ca5
    42020-02-21T20:35:52Z Bitcoin Core version v0.19.99.0-fac52dafa-dirty (release build)
    52020-02-21T20:35:52Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
    62020-02-21T20:35:52Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
    7Assertion failed: (0), function RunTest, file test/bip32_tests.cpp, line 105.
    8make[3]: *** [test/bip32_tests.cpp.test] Error 1
    9make[3]: *** Waiting for unfinished jobs....
    
  6. MarcoFalke merged this on Feb 21, 2020
  7. MarcoFalke closed this on Feb 21, 2020

  8. MarcoFalke deleted the branch on Feb 21, 2020
  9. sidhujag referenced this in commit b69fd1e704 on Feb 22, 2020
  10. deadalnix referenced this in commit 1a60077296 on Oct 21, 2020
  11. deadalnix referenced this in commit 38a2383ced on Oct 22, 2020
  12. sidhujag referenced this in commit c2a4db207c on Nov 10, 2020
  13. PastaPastaPasta referenced this in commit a5ff578062 on Jun 27, 2021
  14. PastaPastaPasta referenced this in commit ea0e6550b1 on Jun 28, 2021
  15. PastaPastaPasta referenced this in commit 7801e7b965 on Jun 29, 2021
  16. PastaPastaPasta referenced this in commit 44ee0fd3e9 on Jul 1, 2021
  17. PastaPastaPasta referenced this in commit b1968646ab on Jul 1, 2021
  18. PastaPastaPasta referenced this in commit d74366e54b on Jul 14, 2021
  19. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me