diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2022-05-10 16:32:29 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-06-28 17:14:44 +0000 |
commit | 2b1be235e0c2288d1e074e71d068589a680d5245 (patch) | |
tree | 220b761585048e1f797f30d74a74282ba02bc2d4 /mkspecs/linux-aarch64-gnu-g++ | |
parent | 74989b09147dd0a47d3e3d0324c6f4ee37a0c667 (diff) | |
download | qtbase-2b1be235e0c2288d1e074e71d068589a680d5245.tar.gz |
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.
Fixes: QTBUG-24240
Change-Id: Id4d422035f173e01e77ca88028dfd94dc0f9085c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit d23dcc05425dcd2ab0eb621f5f2ea793a78fcc9f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'mkspecs/linux-aarch64-gnu-g++')
0 files changed, 0 insertions, 0 deletions