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

test_data seemingly ignored with developer shadow build

XMLWordPrintable

      With this patch to qtquickcontrols2

      diff --git a/tests/auto/controls/universal/CMakeLists.txt b/tests/auto/controls/universal/CMakeLists.txt
      index 5f9024cd4..51845b2ae 100644
      --- a/tests/auto/controls/universal/CMakeLists.txt
      +++ b/tests/auto/controls/universal/CMakeLists.txt
      @@ -9,6 +9,17 @@ file(GLOB_RECURSE test_data_glob
           RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
           ${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
       list(APPEND test_data ${test_data_glob})
      +list(FILTER test_data EXCLUDE REGEX "(\
      +.*tst_abstractbutton.qml|\
      +.*tst_action.qml|\
      +.*tst_actiongroup.qml|\
      +.*tst_buttongroup.qml|\
      +.*tst_container.qml|\
      +.*tst_control.qml|\
      +.*tst_selectionrectangle.qml|\
      +.*tst_swipeview.qml\
      +)")
      +message("${test_data}")
      
       qt_internal_add_test(tst_universal
           GUI
      

      I was hoping to exclude the tests in the specified files from being run. However, when running tst_universal, all tests are run.

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

            qtbuildsystem Qt Build System Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes