mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
testimage: Fix TESTIMAGE_FAILED_QA_ARTIFACTS setting
MCNAME isn't defined outside our mcextend ptest images so use a wildcard in TESTIMAGE_FAILED_QA_ARTIFACTS instead. This unbreaks the value in other images. (From OE-Core rev: e7af85a7b7b966685a9eeaba11628dc10c1ea44b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -28,7 +28,7 @@ TESTIMAGE_FAILED_QA_ARTIFACTS = "\
|
||||
${sysconfdir}/os-release"
|
||||
|
||||
# If some ptests are run and fail, retrieve corresponding directories
|
||||
TESTIMAGE_FAILED_QA_ARTIFACTS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${libdir}/${MCNAME}/ptest', '', d)}"
|
||||
TESTIMAGE_FAILED_QA_ARTIFACTS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${libdir}/*/ptest', '', d)}"
|
||||
|
||||
# You can set (or append to) TEST_SUITES in local.conf to select the tests
|
||||
# which you want to run for your target.
|
||||
|
||||
Reference in New Issue
Block a user