From ba44aae7683f412626baa8bf51708ddf25f51ba8 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Wed, 6 Apr 2022 22:43:11 +0200 Subject: [PATCH] gui: add test runner summary --- src/qt/test/test_main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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 +#include #include #include + #include #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; }