diff options
| author | Jeff Garzik <[email protected]> | 2012-08-07 17:59:06 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-08-07 17:59:06 -0700 |
| commit | 2c006b0b3e6a94fc0fdac80ff2db3af93f768064 (patch) | |
| tree | 4868d0c22eb9053096009763e7e06d1120c3eee3 /src/qt/test/test_main.cpp | |
| parent | Merge pull request #1660 from fanquake/master (diff) | |
| parent | Fix test_bitcoin build in makefile.linux-mingw (diff) | |
| download | discoin-2c006b0b3e6a94fc0fdac80ff2db3af93f768064.tar.xz discoin-2c006b0b3e6a94fc0fdac80ff2db3af93f768064.zip | |
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 5b11e39ea..af2d358fc 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;
}
|