Return !0 when qt tests fail.

This commit is contained in:
Matt Corallo 2012-08-06 21:52:44 +02:00 committed by Matt Corallo
parent dd199d0ebd
commit 026594e269
1 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,11 @@
// This is all you need to run all the tests
int main(int argc, char *argv[])
{
bool fInvalid = false;
URITests test1;
QTest::qExec(&test1);
if (QTest::qExec(&test1) != 0)
fInvalid = true;
return fInvalid;
}