aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-09-27 11:53:34 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-01-02 18:00:05 -0500
commitfa37e0a68bea65979f9f8f2e5258fe608acf2bdf (patch)
tree8deac6542c23efb0dad232c4c30bc88c68187e71 /src/qt/test
parent17e14ac92fced92457945859463eda5d435bdd49 (diff)
test: Show debug log on unit test failure
Diffstat (limited to 'src/qt/test')
-rw-r--r--src/qt/test/test_main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp
index f8c0379ea8..aefdcd2716 100644
--- a/src/qt/test/test_main.cpp
+++ b/src/qt/test/test_main.cpp
@@ -37,6 +37,8 @@ Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin);
#endif
#endif
+const std::function<void(const std::string&)> G_TEST_LOG_FUN{};
+
// This is all you need to run all the tests
int main(int argc, char *argv[])
{