update to 0.4 preview
[novacoin.git] / src / qt / test / test_main.cpp
index 5b11e39..af2d358 100644 (file)
@@ -6,6 +6,11 @@
 // This is all you need to run all the tests\r
 int main(int argc, char *argv[])\r
 {\r
+    bool fInvalid = false;\r
+\r
     URITests test1;\r
-    QTest::qExec(&test1);\r
+    if (QTest::qExec(&test1) != 0)\r
+        fInvalid = true;\r
+\r
+    return fInvalid;\r
 }\r