mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-04 16:10:12 +00:00
ptest: make sure sources exist
QtDeclarative is building doc snippets as part of the tests and the sources for those are not in expected location. Test the source directory before copying them. Pick-to: 6.3 Change-Id: Ia3fd214dfc648d221a7b8bb6ec24e3cd3f698049 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
a3cf192180
commit
b75a4f9dfb
|
|
@ -44,7 +44,9 @@ fakeroot do_install_ptest() {
|
|||
test=${f##${D}${PTEST_PATH}/}
|
||||
testdir=$(dirname ${test})
|
||||
# tests may depend on files from sources
|
||||
cp -r ${S}/${testdir}/* ${D}${PTEST_PATH}/${testdir}
|
||||
if [ -e ${S}${testdir} ]; then
|
||||
cp -r ${S}/${testdir}/* ${D}${PTEST_PATH}/${testdir}
|
||||
fi
|
||||
echo ${test} >> ${D}${PTEST_PATH}/tst_list
|
||||
done
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user