From a4be2bd7230bf11552f4e4b2ad5c57f00dd6d820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 23 Jul 2020 01:56:50 +0200 Subject: testlib selftest: Actually report failures as non-zero exit code Palm, meet face. Change-Id: I01cd4088c8f43f7fe66398c27f5d8333468620ad Reviewed-by: Alexandru Croitor --- tests/auto/testlib/selftests/tst_selftests.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/testlib') 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 } -- cgit v1.2.3