mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-03 02:14:16 +00:00
Return !0 when qt tests fail.
This commit is contained in:
parent
dd199d0ebd
commit
026594e269
@ -6,6 +6,11 @@
|
|||||||
// This is all you need to run all the tests
|
// This is all you need to run all the tests
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
bool fInvalid = false;
|
||||||
|
|
||||||
URITests test1;
|
URITests test1;
|
||||||
QTest::qExec(&test1);
|
if (QTest::qExec(&test1) != 0)
|
||||||
|
fInvalid = true;
|
||||||
|
|
||||||
|
return fInvalid;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user