summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/bbtests.py
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-02-27 19:21:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-01 23:44:59 +0000
commit68d1a56e987ee530620bdf245ddf1812f8cf6d39 (patch)
tree24197a3306fa5fc65571001e28c081a53188651f /meta/lib/oeqa/selftest/cases/bbtests.py
parent949aa76210b4de3eaab79d006af982ce8a44b29d (diff)
downloadpoky-68d1a56e987ee530620bdf245ddf1812f8cf6d39.tar.gz
recipetool: Use SPDX license identifiers
There are still a couple of cases where the license may be set as, e.g., "GPL" or "GPL-2.0" since there is not enough information to decide the actual SPDX license. It is then assumed that the developer will have to correct the information. (From OE-Core rev: e7df51f8d2361e9fe2d67669d2e17f0a5d01004e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/bbtests.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/bbtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py
index 35ad9f3cd6..cfac7afcf4 100644
--- a/meta/lib/oeqa/selftest/cases/bbtests.py
+++ b/meta/lib/oeqa/selftest/cases/bbtests.py
@@ -224,7 +224,7 @@ INHERIT:remove = \"report-error\"
224 self.assertLess(errorpos,continuepos, msg = "bitbake didn't pass do_fail_task. bitbake output: %s" % result.output) 224 self.assertLess(errorpos,continuepos, msg = "bitbake didn't pass do_fail_task. bitbake output: %s" % result.output)
225 225
226 def test_non_gplv3(self): 226 def test_non_gplv3(self):
227 self.write_config('INCOMPATIBLE_LICENSE = "GPLv3"') 227 self.write_config('INCOMPATIBLE_LICENSE = "GPL-3.0-or-later"')
228 result = bitbake('selftest-ed', ignore_status=True) 228 result = bitbake('selftest-ed', ignore_status=True)
229 self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output)) 229 self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output))
230 lic_dir = get_bb_var('LICENSE_DIRECTORY') 230 lic_dir = get_bb_var('LICENSE_DIRECTORY')