Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.0
-
None
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)]