diff options
-rw-r--r-- | meta/classes-recipe/testimage.bbclass | 5 | ||||
-rw-r--r-- | meta/recipes-core/images/core-image-ptest.bb | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index f36d941891..281de4784f 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass | |||
@@ -22,11 +22,14 @@ TESTIMAGE_AUTO ??= "0" | |||
22 | # each entry in it, if artifact pointed by path description exists on target, | 22 | # each entry in it, if artifact pointed by path description exists on target, |
23 | # it will be retrieved onto host | 23 | # it will be retrieved onto host |
24 | 24 | ||
25 | TESTIMAGE_FAILED_QA_ARTIFACTS ??= "\ | 25 | TESTIMAGE_FAILED_QA_ARTIFACTS = "\ |
26 | ${localstatedir}/log \ | 26 | ${localstatedir}/log \ |
27 | ${sysconfdir}/version \ | 27 | ${sysconfdir}/version \ |
28 | ${sysconfdir}/os-release" | 28 | ${sysconfdir}/os-release" |
29 | 29 | ||
30 | # If some ptests are run and fail, retrieve corresponding directories | ||
31 | TESTIMAGE_FAILED_QA_ARTIFACTS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${libdir}/${MCNAME}/ptest', '', d)}" | ||
32 | |||
30 | # 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 |
31 | # which you want to run for your target. | 34 | # which you want to run for your target. |
32 | # The test names are the module names in meta/lib/oeqa/runtime/cases. | 35 | # The test names are the module names in meta/lib/oeqa/runtime/cases. |
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 | |||