summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-17 14:34:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-18 17:21:39 +0100
commit00bb1202d28e3d7bc64e841e53c44dbd1eea8d64 (patch)
treedc48474bbb365bc29edaed6b3a6c72f1856471f1
parentadb27423d506b62723c50e6e11ed4abb8fa6e680 (diff)
downloadpoky-00bb1202d28e3d7bc64e841e53c44dbd1eea8d64.tar.gz
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>
-rw-r--r--meta/classes-recipe/testimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass
index 72282ac362..531330f384 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -28,7 +28,7 @@ TESTIMAGE_FAILED_QA_ARTIFACTS = "\
28 ${sysconfdir}/os-release" 28 ${sysconfdir}/os-release"
29 29
30# If some ptests are run and fail, retrieve corresponding directories 30# If some ptests are run and fail, retrieve corresponding directories
31TESTIMAGE_FAILED_QA_ARTIFACTS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${libdir}/${MCNAME}/ptest', '', d)}" 31TESTIMAGE_FAILED_QA_ARTIFACTS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${libdir}/*/ptest', '', d)}"
32 32
33# You can set (or append to) TEST_SUITES in local.conf to select the tests 33# You can set (or append to) TEST_SUITES in local.conf to select the tests
34# which you want to run for your target. 34# which you want to run for your target.