]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
insane: add test for recipe naming/class mismatches
authorRoss Burton <ross.burton@arm.com>
Thu, 5 Jun 2025 20:11:51 +0000 (21:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jun 2025 16:43:20 +0000 (17:43 +0100)
commitec2c10a3e85d0772135289fe416d13fa3afca571
tree251a2b39004b82c27c71608094383f6424055479
parent3bb0f87a1d13f86836dc44adee5621c3146863d3
insane: add test for recipe naming/class mismatches

It's not unheard of for new users to create a recipe called foo-native
that has BBCLASSEXTEND="native" instead of "inherit native". This will
result in a foo-native recipe that is actually a target recipe, and a
foo-native-native recipe for native builds.

Add a test in recipe_qa to verify that recipes called -native inherit
native, and recipes called nativesdk- inherit nativesdk.

As this behaviour is expected, add the new test to the set of tests
required to pass for Yocto Project Compatible status.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/insane.bbclass