mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
ptest: use builtin test data
Builtin testdata packages all test data files into resources. This is used on mobile platforms by default. Enable it for the ptest builds. We can then remove copying of the source files for the tests. Change-Id: I5e27b3a3a43ed2993eb5570628f023da3f1ed4d5 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> Reviewed-by: Alex Bu <alex.bu@qt.io>
This commit is contained in:
parent
708d438421
commit
4182082028
|
|
@ -33,6 +33,7 @@ EOF
|
|||
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
|
||||
-DQT_FORCE_BUILTIN_TESTDATA=ON \
|
||||
${S} \
|
||||
-Wno-dev
|
||||
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
|
||||
|
|
@ -48,9 +49,6 @@ EOF
|
|||
\) -exec sh -c '\
|
||||
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}}" \
|
||||
' _ {} \;
|
||||
|
||||
# tests may depend on files from sources
|
||||
cp -r ${S}/tests/$tests ${D}${PTEST_PATH}/tests
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user