gui: add test runner summary

This commit is contained in:
Jon Atack committed 2022-04-06 23:45:46 +02:00
1 parent 41720a1f54
commit ba44aae768
1 file changed
+7
+7
View File
@@ -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;
}