gui: add test runner summary
This commit is contained in:
1 file changed
+7
@@ -21,8 +21,10 @@
|
|||||||
#endif // ENABLE_WALLET
|
#endif // ENABLE_WALLET
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
#include <QDebug>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QTest>
|
#include <QTest>
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
#if defined(QT_STATICPLUGIN)
|
#if defined(QT_STATICPLUGIN)
|
||||||
@@ -113,5 +115,10 @@ int main(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (fInvalid) {
|
||||||
|
qWarning("\nThere were errors in some of the tests above.\n");
|
||||||
|
} else {
|
||||||
|
qDebug("\nAll tests passed.\n");
|
||||||
|
}
|
||||||
return fInvalid;
|
return fInvalid;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user