diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-08-23 14:01:20 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2022-09-19 15:18:46 +0200 |
commit | 68956420d479edbac0a9760f91a69e751275b7e1 (patch) | |
tree | dd2669078bc5bb8747ff8cff4f707fbf9e2a1b9a /recipes-qt/qt5/qt5-ptest.inc | |
parent | e7cbd04f349b28e49b9b4e040f707ad308a62a3e (diff) |
ptest: remove references to destination directory
Tests are build against the destination directory where qt module was
just installed. This causes extra files to be taken into source package
and adds references to the TMPDIR, which produces QA warnings from
buildpaths QA test. Use DEBUG_PREFIX_MAP to get rid of those paths.
Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: I01ed9261004410db307f2cd809a181377b734c9e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qt5-ptest.inc')
-rw-r--r-- | recipes-qt/qt5/qt5-ptest.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt5-ptest.inc b/recipes-qt/qt5/qt5-ptest.inc index c96714a4..75d71ba9 100644 --- a/recipes-qt/qt5/qt5-ptest.inc +++ b/recipes-qt/qt5/qt5-ptest.inc @@ -10,6 +10,10 @@ do_compile_ptest() { oe_runmake } +DEBUG_PREFIX_MAP += "\ + -fmacro-prefix-map=${D}= \ +" + fakeroot do_install_ptest() { mkdir -p ${D}${PTEST_PATH} t=${D}${PTEST_PATH} |