qt5base-lts/util
Dimitrios Apostolou 0b4446e16f qt-testrunner: be more strict if bad XML log files are written
If a test returns 0 but writes an XML logfile that contains FAIL or a
corrupted XML file, then qt-testrunner considers it a CRASH and exits
with 3.

Previously any test execution returning 0 (success) was considered
a PASS. Changing this behavior with this patch finds a lot of test
crashes on Android (QTBUG-100470), because the tests are run indirectly
on the emulator and the test wrapper process could not detect the crash,
thus returning 0 to qt-testrunner. But the corrupt XML file is caught
now.

Likewise, if a test returns != 0 but the XML logfile contains only PASS,
qt-testrunner considers it a FAIL. This used to be the case but now
tests are added.

Finally changed logging for such cases from INFO to WARNING.

Task-number: QTBUG-100470
Change-Id: I404c9d2211c7de027bf776d1914519d37f513ca1
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2022-04-05 12:06:23 +03:00
..
accessibilityinspector Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
aglfn Updated license headers 2016-01-21 18:55:18 +00:00
android Properly wait for the Android emulator to fully boot 2022-01-07 19:34:50 +01:00
cmake pro2cmake: Introduce qmake2cmake convenience scripts 2022-03-08 03:45:30 +01:00
edid qedidvendortable.py: include something before using macros 2022-02-24 12:07:00 -08:00
glgen Remove the openglextensions module 2020-06-10 09:35:04 +02:00
gradientgen Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
includemocs QtCore: include mocs 2017-05-05 03:03:30 +00:00
integrity Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
locale_database QLocale: Extend support for language codes 2021-12-09 03:45:08 +01:00
plugintest Updated license headers 2016-01-21 18:55:18 +00:00
qfloat16-tables Round float->qfloat16 to even 2020-09-06 12:35:12 +02:00
testrunner qt-testrunner: be more strict if bad XML log files are written 2022-04-05 12:06:23 +03:00
unicode Update UCD to Revision 28 2021-10-18 16:45:10 +00:00
wasm Add WASM testrunner 2022-03-31 16:50:25 +02:00
x86simdgen Re-add missing 'we mean it' header 2022-03-07 14:04:25 +01:00
xkbdatagen Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00