diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-23 01:56:50 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-23 14:27:15 +0200 |
commit | a4be2bd7230bf11552f4e4b2ad5c57f00dd6d820 (patch) | |
tree | f3a7df2deb97a0217e37bfeadd4f73d78fb10dd2 /tests | |
parent | fbf3b3121f3517a2a0e0595635f2430e46323e9b (diff) |
testlib selftest: Actually report failures as non-zero exit code
Palm, meet face.
Change-Id: I01cd4088c8f43f7fe66398c27f5d8333468620ad
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/testlib/selftests/tst_selftests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index 0e5d947bc4..755f5fb39e 100644 --- a/tests/auto/testlib/selftests/tst_selftests.cpp +++ b/tests/auto/testlib/selftests/tst_selftests.cpp @@ -1243,6 +1243,8 @@ int main(int argc, char **argv) qDebug() << "Test outputs left in" << qUtf8Printable(testOutputDir.path()); testOutputDir.setAutoRemove(false); } + + return result; #endif } |