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

qt/qtquickcontrols tests fail om Out of source builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Incomplete
    • Affects Version/s: 5.9.7, 5.12.5, 5.13.2, 5.14.0, 5.15
    • Fix Version/s: None
    • Component/s: Quick: Controls 1
    • Labels:
      None

      Description

      From test log:

      agent:2019/11/04 07:10:47 build.go:484: Executing instruction 27 of 44 - RunQtUnitTest
      agent:2019/11/04 07:10:47 build.go:600: Running tests in directory /home/qt/work/build/tests/auto/controls
      agent:2019/11/04 07:10:47 runner.go:72: Generating test results with TESTARGS=-o /home/qt/build/tests/auto/controls352943511,xml -o -,txt
      agent:2019/11/04 07:10:47 build.go:329: [make check -j1] 900 900
      agent:2019/11/04 07:10:47 build.go:220: /home/qt/work/install/bin/qmake -o Makefile /home/qt/work/qt/qtquickcontrols/tests/auto/controls/controls.pro INSTALL_PREFIX=/home/qt/work/install
      agent:2019/11/04 07:10:47 build.go:220: Info: creating stash file /home/qt/work/build/.qmake.stash
      agent:2019/11/04 07:10:47 build.go:220: /home/qt/work/build/tests/auto/controls/target_wrapper.sh  ./tst_controls -o /home/qt/build/tests/auto/controls352943511,xml -o -,txt -import "/home/qt/work/build/tests/auto/controls/../testplugin"
      agent:2019/11/04 07:10:48 build.go:220: file:///home/qt/work/qt/qtquickcontrols/tests/auto/controls/data/tst_applicationwindow.qml:53:1: module "QtQuickControlsTests" is not installed 
      agent:2019/11/04 07:10:48 build.go:220:      import QtQuickControlsTests 1.0 
      agent:2019/11/04 07:10:48 build.go:220:      ^
      agent:2019/11/04 07:10:48 build.go:220: Makefile:305: recipe for target 'check' failed
      agent:2019/11/04 07:10:48 build.go:220: make: *** [check] Error 1
      agent:2019/11/04 07:10:48 build.go:253: Process finished with error: exit status 2
      
      

      Actual problem happens in build phase:

      /home/qt/work/install/bin/qmake -install qinstall /home/qt/work/qt/qtquickcontrols/tests/auto/testplugin/QtQuickControlsTests/qmldir QtQuickControlsTests/qmldir
      

      That installed qmldir is not included into test artifacts by default because it is originated from source tree.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            mapaaso Matti Paaso
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes