summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
diff options
context:
space:
mode:
authorAlexis Lothoré <alexis.lothore@bootlin.com>2024-02-06 16:29:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-08 10:59:06 +0000
commitd1ac9bb1bd2132cd121f0e80829302298d8a8a64 (patch)
treea90b8495cb43d4e6ba5c5a08cc04762d201fe682 /meta/recipes-core/images
parent62049bfc7aaefb6d81e5aaf2e9db5b457567b03c (diff)
downloadpoky-d1ac9bb1bd2132cd121f0e80829302298d8a8a64.tar.gz
testimage: retrieve ptests directory when ptests fail
TESTIMAGE_FAILED_QA_ARTIFACTS is set with a default, minimal list of files to retrieve whenever a runtime test fails. Add ptests directory to the list so we can get ptests artifacts (eg: logs) whenever a ptest fails. By appending the ptest directory with the multiconfig component in the path, only failing ptests will lead to corresponding ptest artifacts retrieval, instead of all ptests artifacts retrieval. While doing this addition, reinforce default value using "=" operator to make sure to get the default list in any case. (From OE-Core rev: 9357ab6c47f0a0a7000cb18358bc9775fd54e1f7) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r--meta/recipes-core/images/core-image-ptest.bb1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-core/images/core-image-ptest.bb b/meta/recipes-core/images/core-image-ptest.bb
index b6f5c2fd60..862e44f5e6 100644
--- a/meta/recipes-core/images/core-image-ptest.bb
+++ b/meta/recipes-core/images/core-image-ptest.bb
@@ -42,4 +42,3 @@ python () {
42 if not d.getVar("MCNAME"): 42 if not d.getVar("MCNAME"):
43 raise bb.parse.SkipRecipe("No class extension set") 43 raise bb.parse.SkipRecipe("No class extension set")
44} 44}
45