Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115951

qml::UnknownTestFunc() QVERIFY()

    XMLWordPrintable

Details

    • 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&#x002D;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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            misery André Klitzing
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes