]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
insane: Drop oe.qa.add_message usage
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Aug 2024 16:10:28 +0000 (17:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Aug 2024 20:57:36 +0000 (21:57 +0100)
commit9b2eea9fd4eab4f5e12e955738db22091b91f698
tree1b2b200e5824d83c299fca96a223e043412b81ca
parent51f767d92efb3daeb4aa3b91d72e6d2993cb0f46
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/insane.bbclass
meta/classes-recipe/ptest.bbclass
meta/lib/oe/qa.py
meta/recipes-devtools/opkg/opkg_0.7.0.bb