mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

As stated in our top level license files, the license is MIT unless otherwise stated. Add SPDX identifers accordingly. Replace older license statementa with the standardised syntax. Also drop "All Rights Reserved" expression as it isn't used now, doesn't mean anything and is confusing. (From OE-Core rev: 081a391fe09a21265881e39a2a496e4e10b4f80b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
743 B
Plaintext
23 lines
743 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
#
|
|
# 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)
|
|
}
|