diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-08-07 17:59:06 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-08-07 17:59:06 -0700 |
commit | 2c006b0b3e6a94fc0fdac80ff2db3af93f768064 (patch) | |
tree | 4868d0c22eb9053096009763e7e06d1120c3eee3 /src/qt/test/test_main.cpp | |
parent | c995995eb8627a56079180fceb85323e1b73495e (diff) | |
parent | c5f90cd88b61ff28327eed4981903bdf72027cc5 (diff) |
Merge pull request #1658 from TheBlueMatt/qttest
Fix several issues in the Qt unit tests.
Diffstat (limited to 'src/qt/test/test_main.cpp')
-rw-r--r-- | src/qt/test/test_main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp index 5b11e39ea3..af2d358fc4 100644 --- a/src/qt/test/test_main.cpp +++ b/src/qt/test/test_main.cpp @@ -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;
}
|