mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
gui: add test runner summary
This commit is contained in:
parent
41720a1f54
commit
ba44aae768
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue