mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-13 10:21:34 +02:00
gui: add test runner summary
This commit is contained in:
parent
41720a1f54
commit
ba44aae768
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user