Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.10
-
None
Description
When running this test on an iMX6, I get this error message when deploying:
:-1: error: Failed to upload file "/home/mitch/dev/qt5.10/qtquickcontrols2/tests/auto/qquickiconimage/data/*.qml": Could not open for reading.
Changing the .pro to this helps it deploy:
TESTDATA += \ $$files($$PWD/data/*.qml) \ $$files($$PWD/data/icons/*)
But then I get:
QWARN : tst_qquickiconimage::nameBindingSourceSize() file:///data/nameBindingSourceSize.qml: No such file or directory FAIL! : tst_qquickiconimage::nameBindingSourceSize() Compared values are not the same Actual (view.status()) : Error Expected (QQuickView::Ready): Ready Loc: [../qquickiconimage/tst_qquickiconimage.cpp(119)]
This is because it uploads the files using the path on the host directory. E.g. if the path to the test on the device is:
/usr/local/qt5.10/tests/tst_qquickiconimage
then the path to the QML files that were deployed is:
/usr/local/qt5.10/tests/tst_qquickiconimage/home/mitch/dev/qt5.10/qtquickcontrols2/tests/auto/qquickiconimage/data/.
Attachments
Issue Links
- relates to
-
QTBUG-117098 qt_internal_add_test's non builtin_testdata mode can't be relied upon for QFINDTESTDATA
- Reported