Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.2.0
Description
tst_snippets and tst_sanity seem to be tests meant for the host, but if they're actually meant to be run on the target as well, then changes need to be done because the tests expect data that is on the host in installation path to be present on test time which is not possible for Android.
1: ********* Start testing of tst_Snippets ********* 1: Config: Using QtTest library 6.3.0, Qt 6.3.0 (i386-little_endian-ilp32 shared (dynamic) debug build; by Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)), android 11.0 1: QINFO : tst_Snippets::initTestCase() Snippets are taken from /Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/snippets/../../../../src/quickcontrols2/doc/snippets 1: FAIL! : tst_Snippets::initTestCase() '!snippetPaths.isEmpty()' returned FALSE. () 1: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/snippets/tst_snippets.cpp(79)] 1: PASS : tst_Snippets::cleanupTestCase() 1: Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms 1: ********* Finished testing of tst_Snippets *********
1: ********* Start testing of tst_Sanity ********* 1: Config: Using QtTest library 6.3.0, Qt 6.3.0 (i386-little_endian-ilp32 shared (dynamic) debug build; by Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)), android 11.0 1: PASS : tst_Sanity::initTestCase() 1: PASS : tst_Sanity::jsFiles() 1: QFATAL : tst_Sanity::qmllint() ASSERT failure in QTest::fetchData(): "Test data requested, but no testdata available.", file /Users/assam/sources/qt6/qt6/qtbase/src/testlib/qtestcase.cpp, line 1235 1: FAIL! : tst_Sanity::qmllint() Received a fatal error. 1: Loc: [/Users/assam/sources/qt6/qt6/qtbase/src/testlib/qtestcase.cpp(1235)] 1: Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 54ms 1: ********* Finished testing of tst_Sanity *********
Attachments
Issue Links
- resulted from
-
QTBUG-99194 Report failing qtdeclarative tests
- Closed
-
QTBUG-101909 Fix qtdeclarative test bugs
- Open
Gerrit Reviews
For Gerrit Dashboard: QTBUG-100191 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
392464,3 | Disable failing declarative tests on Android | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
393092,3 | Disable failing declarative tests on Android | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
393093,3 | Disable failing declarative tests on Android | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |