From d1ffa135a7150e210260b5ae37ebe22bf0ff369d Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 4 Mar 2022 11:33:05 +0000 Subject: [PATCH] ptest: fix packaging of test data Use correct path for the test sources and data. Pick-to: 6.3 Change-Id: I90f14130dce7f3b5ef3ae45dbdd60540c795ba9e Reviewed-by: Mikko Gronoff --- recipes-qt/qt6/qt6-ptest.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-qt/qt6/qt6-ptest.inc b/recipes-qt/qt6/qt6-ptest.inc index 5191fe1..5bd0060 100644 --- a/recipes-qt/qt6/qt6-ptest.inc +++ b/recipes-qt/qt6/qt6-ptest.inc @@ -47,7 +47,7 @@ fakeroot do_install_ptest() { test=${f##${D}${PTEST_PATH}/} testdir=$(dirname ${test}) # tests may depend on files from sources - if [ -e ${S}${testdir} ]; then + if [ -e ${S}/${testdir} ]; then cp -r ${S}/${testdir}/* ${D}${PTEST_PATH}/${testdir} fi echo ${test} >> ${D}${PTEST_PATH}/tst_list