aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-04-06 22:43:11 +0200
committerJon Atack <jon@atack.com>2022-04-06 23:45:46 +0200
commitba44aae7683f412626baa8bf51708ddf25f51ba8 (patch)
tree3ceec5aa2ddcc343cff2f8448b5eb05720a77fa4 /src/qt
parent41720a1f540ef3c16a283a6cce6f0a63552a4937 (diff)
gui: add test runner summary
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/test/test_main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp
index 07d256f05a..834f31dd53 100644
--- a/src/qt/test/test_main.cpp
+++ b/src/qt/test/test_main.cpp
@@ -21,8 +21,10 @@
#endif // ENABLE_WALLET
#include <QApplication>
+#include <QDebug>
#include <QObject>
#include <QTest>
+
#include <functional>
#if defined(QT_STATICPLUGIN)
@@ -113,5 +115,10 @@ int main(int argc, char* argv[])
}
#endif
+ if (fInvalid) {
+ qWarning("\nThere were errors in some of the tests above.\n");
+ } else {
+ qDebug("\nAll tests passed.\n");
+ }
return fInvalid;
}