mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
insane: Drop oe.qa.add_message usage
Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which has code allowing it to be optimised with contains usage. The patch also drops unused return values which we stopped using a while ago and drops the now unneeded function parameters, generally leading to cleaner code. The code should be functionally equivalent. (From OE-Core rev: 9b2eea9fd4eab4f5e12e955738db22091b91f698) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -131,7 +131,7 @@ python () {
|
||||
}
|
||||
|
||||
QARECIPETEST[missing-ptest] = "package_qa_check_missing_ptest"
|
||||
def package_qa_check_missing_ptest(pn, d, messages):
|
||||
def package_qa_check_missing_ptest(pn, d):
|
||||
# This checks that ptest package is actually included
|
||||
# in standard oe-core ptest images - only for oe-core recipes
|
||||
if not 'meta/recipes' in d.getVar('FILE') or not(d.getVar('PTEST_ENABLED') == "1"):
|
||||
|
||||
Reference in New Issue
Block a user