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

Handle declarative and quick controls tests that rely on files from the source tree

    XMLWordPrintable

Details

    • Android

    Description

      Some tests like tst_StyleImports, tst_Snippets, tst_Sanity rely on some files being retrieved from the source or import tree, which is fine on Desktop, but on mobile those paths are not valid anymore because the test is run from the test device and not Desktop.

      For example:

       

      I QTestLib: QINFO  : tst_Snippets::initTestCase() Snippets are taken from /Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/snippets/../../../../src/quickcontrols2/doc/snippets
      I QTestLib: FAIL!  : tst_Snippets::initTestCase() '!snippetPaths.isEmpty()' returned FALSE. ()
      I QTestLib:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/snippets/tst_snippets.cpp(88)]
      

       

      Attachments

        For Gerrit Dashboard: QTBUG-97501
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes