mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
Where there isn't a copyright statement, add one to make it explicit. Also drop editor config lines where they were present. (From OE-Core rev: 880c1ea3edc8edef974e65b2d424fc36809ea034) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
710 B
Plaintext
21 lines
710 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
|
|
#
|
|
# This class is used by yocto-check-layer script for additional per-recipe tests
|
|
# The first test ensures that the layer has no recipes skipping 'installed-vs-shipped' QA checks
|
|
#
|
|
|
|
WARN_QA:remove = "installed-vs-shipped"
|
|
ERROR_QA:append = " installed-vs-shipped"
|
|
|
|
python () {
|
|
packages = set((d.getVar('PACKAGES') or '').split())
|
|
for package in packages:
|
|
skip = set((d.getVar('INSANE_SKIP') or "").split() +
|
|
(d.getVar('INSANE_SKIP:' + package) or "").split())
|
|
if 'installed-vs-shipped' in skip:
|
|
oe.qa.handle_error("installed-vs-shipped", 'Package %s is skipping "installed-vs-shipped" QA test.' % package, d)
|
|
}
|