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

REG: Controls C++ tests not run with all styles

    XMLWordPrintable

Details

    • 07318c81a (dev), 9f1893855 (6.9), 99b1fd003 (6.8)

    Description

      A lot of C++ Qt Quick Controls tests use the QTEST_QUICKCONTROLS_MAIN macro, which runs the test with each style.

      As of 6.7.0, only the Basic style is run, whereas previously all styles (where applicable) were run:

      08:27:32: Starting /home/mitch/dev/qt-6.8-debug/qtdeclarative/tests/auto/quickcontrols/qquicktextfield/tst_qquicktextfield...
      ********* Start testing of tst_QQuickTextField *********
      Config: Using QtTest library 6.8.3, Qt 6.8.3 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 13.3.0), ubuntu 24.04
      PASS   : tst_QQuickTextField::Basic::initTestCase()
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(new default)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(putenv)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(old_import)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(old+putenv)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(old+putenv+selectByMouse)
      PASS   : tst_QQuickTextField::Basic::releaseAfterPressAndHold()
      PASS   : tst_QQuickTextField::Basic::cleanupTestCase()
      Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 10262ms
      ********* Finished testing of tst_QQuickTextField *********
      08:27:43: /home/mitch/dev/qt-6.8-debug/qtdeclarative/tests/auto/quickcontrols/qquicktextfield/tst_qquicktextfield exited with code 0
      

      This worked with 6.6.3 (version in output is different but I've tested it with 6.6.3):

      10:27:15: Starting /home/mitch/dev/qt-6.5-lts-debug/qtdeclarative/tests/auto/quickcontrols/qquicktextfield/tst_qquicktextfield...
      ********* Start testing of tst_QQuickTextField *********
      Config: Using QtTest library 6.5.8, Qt 6.5.8 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 13.3.0), ubuntu 24.04
      PASS   : tst_QQuickTextField::Basic::initTestCase()
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(new default)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(putenv)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(old_import)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(old+putenv)
      PASS   : tst_QQuickTextField::Basic::touchscreenDoesNotSelect(old+putenv+selectByMouse)
      PASS   : tst_QQuickTextField::Basic::cleanupTestCase()
      PASS   : tst_QQuickTextField::Fusion::initTestCase()
      PASS   : tst_QQuickTextField::Fusion::touchscreenDoesNotSelect(new default)
      PASS   : tst_QQuickTextField::Fusion::touchscreenDoesNotSelect(putenv)
      PASS   : tst_QQuickTextField::Fusion::touchscreenDoesNotSelect(old_import)
      PASS   : tst_QQuickTextField::Fusion::touchscreenDoesNotSelect(old+putenv)
      PASS   : tst_QQuickTextField::Fusion::touchscreenDoesNotSelect(old+putenv+selectByMouse)
      PASS   : tst_QQuickTextField::Fusion::cleanupTestCase()
      PASS   : tst_QQuickTextField::Imagine::initTestCase()
      PASS   : tst_QQuickTextField::Imagine::touchscreenDoesNotSelect(new default)
      PASS   : tst_QQuickTextField::Imagine::touchscreenDoesNotSelect(putenv)
      PASS   : tst_QQuickTextField::Imagine::touchscreenDoesNotSelect(old_import)
      PASS   : tst_QQuickTextField::Imagine::touchscreenDoesNotSelect(old+putenv)
      PASS   : tst_QQuickTextField::Imagine::touchscreenDoesNotSelect(old+putenv+selectByMouse)
      PASS   : tst_QQuickTextField::Imagine::cleanupTestCase()
      PASS   : tst_QQuickTextField::Material::initTestCase()
      PASS   : tst_QQuickTextField::Material::touchscreenDoesNotSelect(new default)
      PASS   : tst_QQuickTextField::Material::touchscreenDoesNotSelect(putenv)
      PASS   : tst_QQuickTextField::Material::touchscreenDoesNotSelect(old_import)
      PASS   : tst_QQuickTextField::Material::touchscreenDoesNotSelect(old+putenv)
      PASS   : tst_QQuickTextField::Material::touchscreenDoesNotSelect(old+putenv+selectByMouse)
      PASS   : tst_QQuickTextField::Material::cleanupTestCase()
      PASS   : tst_QQuickTextField::Universal::initTestCase()
      PASS   : tst_QQuickTextField::Universal::touchscreenDoesNotSelect(new default)
      PASS   : tst_QQuickTextField::Universal::touchscreenDoesNotSelect(putenv)
      PASS   : tst_QQuickTextField::Universal::touchscreenDoesNotSelect(old_import)
      PASS   : tst_QQuickTextField::Universal::touchscreenDoesNotSelect(old+putenv)
      PASS   : tst_QQuickTextField::Universal::touchscreenDoesNotSelect(old+putenv+selectByMouse)
      PASS   : tst_QQuickTextField::Universal::cleanupTestCase()
      Totals: 35 passed, 0 failed, 0 skipped, 0 blacklisted, 20947ms
      ********* Finished testing of tst_QQuickTextField *********
      10:27:37: /home/mitch/dev/qt-6.5-lts-debug/qtdeclarative/tests/auto/quickcontrols/qquicktextfield/tst_qquicktextfield exited with code 0
      

      Attachments

        Issue Links

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

          Activity

            People

              johanseg Jøger Hansegård
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes