mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
@@ -138,5 +138,5 @@ def package_qa_check_missing_ptest(pn, d, messages):
|
||||
return
|
||||
|
||||
enabled_ptests = " ".join([d.getVar('PTESTS_FAST'), d.getVar('PTESTS_SLOW'), d.getVar('PTESTS_PROBLEMS')]).split()
|
||||
if (pn + "-ptest").replace(d.getVar('MLPREFIX'), '') not in enabled_ptests:
|
||||
if pn.replace(d.getVar('MLPREFIX'), '') not in enabled_ptests:
|
||||
oe.qa.handle_error("missing-ptest", "supports ptests but is not included in oe-core's ptest-packagelists.inc", d)
|
||||
|
||||
Reference in New Issue
Block a user