diff options
author | Quentin Schulz <quentin.schulz@streamunlimited.com> | 2019-06-11 17:11:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-12 10:53:53 +0100 |
commit | 6c2ca52218c196e7ccf6b3275bffc3e3a04193c6 (patch) | |
tree | 13c5455043ecf9043bf808db7fcf95a6a6b99db9 /meta-selftest/recipes-test/license/incompatible-license.bb | |
parent | 651d8d371e78e77599d56681228d5782664f7743 (diff) | |
download | openembedded-core-contrib-6c2ca52218c196e7ccf6b3275bffc3e3a04193c6.tar.gz |
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>
Diffstat (limited to 'meta-selftest/recipes-test/license/incompatible-license.bb')
-rw-r--r-- | meta-selftest/recipes-test/license/incompatible-license.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/license/incompatible-license.bb b/meta-selftest/recipes-test/license/incompatible-license.bb new file mode 100644 index 0000000000..1728ad76b7 --- /dev/null +++ b/meta-selftest/recipes-test/license/incompatible-license.bb @@ -0,0 +1,3 @@ +SUMMARY = "Recipe with an SPDX license" +DESCRIPTION = "Is licensed with an SPDX license to be used for testing" +LICENSE = "GPL-3.0" |