summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/ptest.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-11 21:01:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-14 07:17:47 +0000
commit3419f8340cc515b3f71f23a4b49bd898e972668e (patch)
tree47d5e47df207e4fec8b6e468b7cc628c555671bd /meta/classes-recipe/ptest.bbclass
parent5850561b05bd5bd16b2d02d0c4c4efc705543139 (diff)
downloadpoky-3419f8340cc515b3f71f23a4b49bd898e972668e.tar.gz
ptest-packagelists: Simplify ptest list/code
All the usage sites remove the -ptest suffix. Simply the original list instead and clean up the code. (From OE-Core rev: 4a28057849f9edc6ac06d115531f579673d788b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/ptest.bbclass')
-rw-r--r--meta/classes-recipe/ptest.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/ptest.bbclass b/meta/classes-recipe/ptest.bbclass
index 0383206a6d..a1c3c3f1a6 100644
--- a/meta/classes-recipe/ptest.bbclass
+++ b/meta/classes-recipe/ptest.bbclass
@@ -138,5 +138,5 @@ def package_qa_check_missing_ptest(pn, d, messages):
138 return 138 return
139 139
140 enabled_ptests = " ".join([d.getVar('PTESTS_FAST'), d.getVar('PTESTS_SLOW'), d.getVar('PTESTS_PROBLEMS')]).split() 140 enabled_ptests = " ".join([d.getVar('PTESTS_FAST'), d.getVar('PTESTS_SLOW'), d.getVar('PTESTS_PROBLEMS')]).split()
141 if (pn + "-ptest").replace(d.getVar('MLPREFIX'), '') not in enabled_ptests: 141 if pn.replace(d.getVar('MLPREFIX'), '') not in enabled_ptests:
142 oe.qa.handle_error("missing-ptest", "supports ptests but is not included in oe-core's ptest-packagelists.inc", d) 142 oe.qa.handle_error("missing-ptest", "supports ptests but is not included in oe-core's ptest-packagelists.inc", d)