qt5base-lts/tests/auto/testlib
Dimitrios Apostolou d23dcc0542 qtestlib: exit with error if a test is invoked with unknown data tag
Previously trying to execute a test function with an unknown data tag
would print an error message but exit with 0.

This patch stores a test failure, and continues trying to execute the
rest of the command line arguments, if any. In the end the process exits
with the usual exit code (number of failed tests) which is now !=0.

Pick-to: 6.4 6.3 6.2
Fixes: QTBUG-24240
Change-Id: Id4d422035f173e01e77ca88028dfd94dc0f9085c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-06-28 18:06:33 +02:00
..
initmain Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
outformat Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qabstractitemmodeltester Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsignalspy Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
selftests qtestlib: exit with error if a test is invoked with unknown data tag 2022-06-28 18:06:33 +02:00
CMakeLists.txt Exclude tst_selftests when feature process is disabled 2022-01-27 21:35:58 +02:00