mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
ptest: include possible test plugins and qml modules
Some of the Qt modules have separate test plugins and qml modules that are used in the auto tests. Fixes: QTBUG-138066 Change-Id: I00c41396b59f1b380696bbab3489bd93b4a65cc5 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> (cherry picked from commit8c8ec98428) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit1036144cce) (cherry picked from commit70715f7d84)
This commit is contained in:
parent
5a008aacea
commit
10f03f667a
|
|
@ -53,6 +53,14 @@ EOF
|
|||
cp -r ${S}/tests/$tests ${D}${PTEST_PATH}/tests
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -e "${B_PTEST}/${baselib}" ]; then
|
||||
find ${B_PTEST}/${baselib} \
|
||||
! -type d -a \( -executable -o -name qmldir \) \
|
||||
-exec sh -c '\
|
||||
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}/${baselib}}" \
|
||||
' _ {} \;
|
||||
fi
|
||||
}
|
||||
|
||||
fakeroot python do_create_ptest_list() {
|
||||
|
|
@ -93,7 +101,7 @@ INSANE_SKIP:${PN}-ptest += "file-rdeps"
|
|||
|
||||
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
|
||||
remove_ptest_debug() {
|
||||
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests ]; then
|
||||
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests -depth -type d -name .debug -exec rm -rf '{}' \;
|
||||
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest ]; then
|
||||
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest -depth -type d -name .debug -exec rm -rf '{}' \;
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user