]> code.ossystems Code Review - openembedded-core.git/commit
selftests: add tests for INCOMPATIBLE_LICENSE
authorQuentin Schulz <quentin.schulz@streamunlimited.com>
Tue, 11 Jun 2019 15:11:20 +0000 (17:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Jun 2019 09:53:53 +0000 (10:53 +0100)
commit6c2ca52218c196e7ccf6b3275bffc3e3a04193c6
tree13c5455043ecf9043bf808db7fcf95a6a6b99db9
parent651d8d371e78e77599d56681228d5782664f7743
selftests: add tests for INCOMPATIBLE_LICENSE

One bug went unnoticed without these selftests: an INCOMPATIBLE_LICENSE
with a non-SPDX license for a package with that non-SPDX license wasn't
enforcing the denial of build for said package. See
4b6ce4604cc15e289a48f8586d58a101b7a70b52 ("meta: license: fix non-SPDX
license being removed from INCOMPATIBLE_LICENSE")

While adding a test for that particular case, let's add a few more so
that we cover a handful more use cases of INCOMPATIBLE_LICENSE.

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/license/incompatible-license-alias.bb [new file with mode: 0644]
meta-selftest/recipes-test/license/incompatible-license.bb [new file with mode: 0644]
meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb [new file with mode: 0644]
meta/lib/oeqa/selftest/cases/incompatible_lic.py [new file with mode: 0644]