diff options
author | Jon Atack <jon@atack.com> | 2022-04-06 22:43:11 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-04-06 23:45:46 +0200 |
commit | ba44aae7683f412626baa8bf51708ddf25f51ba8 (patch) | |
tree | 3ceec5aa2ddcc343cff2f8448b5eb05720a77fa4 /src | |
parent | 41720a1f540ef3c16a283a6cce6f0a63552a4937 (diff) | |
download | bitcoin-ba44aae7683f412626baa8bf51708ddf25f51ba8.tar.xz |
gui: add test runner summary
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/test/test_main.cpp | 7 |
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; } |