Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5, 6.6
-
None
-
5fd2223d4 (dev), c46a39418 (6.6), d999fec58 (6.5)
Description
We tried to upgrade to Qt 6.5.2 but the xml output of qml test runner is broken.
The xml contains a Message tag BEFORE the XML-Tag. This is not allowed.
<Message type="info" file="qrc:/qt-project.org/imports/QtTest/TestCase.qml" line="1946"> <Description><![CDATA[QVERIFY()]]></Description> </Message> <?xml version="1.0" encoding="UTF-8"?>
Seems it tries to QVERIFY something before the testing is started.
INFO : qml::UnknownTestFunc() QVERIFY() Loc: [qrc:/qt-project.org/imports/QtTest/TestCase.qml(1946)] ********* Start testing of qml ********* Config: Using QtTest library 6.5.2, Qt 6.5.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.1.1 20230714), arch unknown INFO : qml::ModuleImportTest::initTestCase() entering PASS : qml::ModuleImportTest::initTestCase()
Qt 6.4.3 works without problems.
Used cmdline of the unit test:
-v2 -o results.log.xml,xml -o -,txt