diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp index 07d256f05ae..834f31dd53a 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; }