diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/incompatible_lic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/cases/incompatible_lic.py b/meta/lib/oeqa/selftest/cases/incompatible_lic.py index 8fb93af8a8..3cc5bbc35c 100644 --- a/meta/lib/oeqa/selftest/cases/incompatible_lic.py +++ b/meta/lib/oeqa/selftest/cases/incompatible_lic.py | |||
@@ -12,12 +12,12 @@ class IncompatibleLicenseTests(OESelftestTestCase): | |||
12 | if error_msg not in result.output: | 12 | if error_msg not in result.output: |
13 | raise AssertionError(result.output) | 13 | raise AssertionError(result.output) |
14 | 14 | ||
15 | # Verify that a package with an SPDX license (from SRC_DISTRIBUTE_LICENSES) | 15 | # Verify that a package with an SPDX license (from AVAILABLE_LICENSES) |
16 | # cannot be built when INCOMPATIBLE_LICENSE contains this SPDX license | 16 | # cannot be built when INCOMPATIBLE_LICENSE contains this SPDX license |
17 | def test_incompatible_spdx_license(self): | 17 | def test_incompatible_spdx_license(self): |
18 | self.lic_test('incompatible-license', 'GPL-3.0', 'GPL-3.0') | 18 | self.lic_test('incompatible-license', 'GPL-3.0', 'GPL-3.0') |
19 | 19 | ||
20 | # Verify that a package with an SPDX license (from SRC_DISTRIBUTE_LICENSES) | 20 | # Verify that a package with an SPDX license (from AVAILABLE_LICENSES) |
21 | # cannot be built when INCOMPATIBLE_LICENSE contains an alias (in | 21 | # cannot be built when INCOMPATIBLE_LICENSE contains an alias (in |
22 | # SPDXLICENSEMAP) of this SPDX license | 22 | # SPDXLICENSEMAP) of this SPDX license |
23 | def test_incompatible_alias_spdx_license(self): | 23 | def test_incompatible_alias_spdx_license(self): |
@@ -35,7 +35,7 @@ class IncompatibleLicenseTests(OESelftestTestCase): | |||
35 | self.lic_test('incompatible-license-alias', 'GPLv3', 'GPLv3') | 35 | self.lic_test('incompatible-license-alias', 'GPLv3', 'GPLv3') |
36 | 36 | ||
37 | # Verify that a package with a non-SPDX license (neither in | 37 | # Verify that a package with a non-SPDX license (neither in |
38 | # SRC_DISTRIBUTE_LICENSES nor in SPDXLICENSEMAP) cannot be built when | 38 | # AVAILABLE_LICENSES nor in SPDXLICENSEMAP) cannot be built when |
39 | # INCOMPATIBLE_LICENSE contains this license | 39 | # INCOMPATIBLE_LICENSE contains this license |
40 | def test_incompatible_nonspdx_license(self): | 40 | def test_incompatible_nonspdx_license(self): |
41 | self.lic_test('incompatible-nonspdx-license', 'FooLicense', 'FooLicense') | 41 | self.lic_test('incompatible-nonspdx-license', 'FooLicense', 'FooLicense') |