Merge #16975: test: Show debug log on unit test failure

fa37e0a68b test: Show debug log on unit test failure (MarcoFalke)

Pull request description:

  Often, it is hard to debug unit test failures without the debug log. Especially when the failure happens remotely (e.g. on a ci system).

  Fix that by printing the log on failure.

ACKs for top commit:
  jamesob:
    ACK fa37e0a68b ([`jamesob/ackr/16975.1.MarcoFalke.test_show_debug_log_on_u`](https://github.com/jamesob/bitcoin/tree/ackr/16975.1.MarcoFalke.test_show_debug_log_on_u))

Tree-SHA512: 2ca4150c4ae3d4ad47e03b5e5e70da2baffec928ddef1fdf53a3ebc061f14aee249205387cb1b12ef6d4eb55711ef0080c0b41d9d18000b5da124ca80299793b
This commit is contained in:
Wladimir J. van der Laan
2020-01-08 14:43:55 +01:00
7 changed files with 34 additions and 0 deletions

View File

@@ -7,6 +7,14 @@ deadlock:WalletBatch
# Intentional deadlock in tests
deadlock:TestPotentialDeadLockDetected
# Race due to unprotected calls to thread-unsafe BOOST_TEST_MESSAGE from different threads:
# * G_TEST_LOG_FUN in the index thread
# * boost test case invoker (entering a test case) in the main thread
# TODO: get rid of BOOST_ macros, see also https://github.com/bitcoin/bitcoin/issues/8670
race:blockfilter_index_initial_sync_invoker
race:txindex_initial_sync_invoker
race:validation_block_tests::TestSubscriber
# Wildcard for all gui tests, should be replaced with non-wildcard suppressions
race:src/qt/test/*
deadlock:src/qt/test/*