diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-04 12:06:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-05 14:06:10 +0000 |
commit | 0a9e45a4133603dbf79b9da40f49e76ad6f62efd (patch) | |
tree | caa58977ce09dcafca1d27e7faafa37cd061829e /meta/lib | |
parent | 34c747f01777448559d5961c0cdee143a4ce7461 (diff) | |
download | poky-0a9e45a4133603dbf79b9da40f49e76ad6f62efd.tar.gz |
oeqa/selftest/bbtests: Tweak to use no-gplv3 inc file
With changes to gcc-runtime around improving debugging, python modules
are needed but this pulls in bash which breaks the tests.
Add an exclusion to the no-gplv3 include file to handle this.
(From OE-Core rev: 803060fa4e8fe98ac8f987b80162110d06788946)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/bbtests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py index 0da59e0f58..98e9f81661 100644 --- a/meta/lib/oeqa/selftest/cases/bbtests.py +++ b/meta/lib/oeqa/selftest/cases/bbtests.py | |||
@@ -232,7 +232,9 @@ INHERIT:remove = \"report-error\" | |||
232 | self.assertLess(errorpos,continuepos, msg = "bitbake didn't pass do_fail_task. bitbake output: %s" % result.output) | 232 | self.assertLess(errorpos,continuepos, msg = "bitbake didn't pass do_fail_task. bitbake output: %s" % result.output) |
233 | 233 | ||
234 | def test_non_gplv3(self): | 234 | def test_non_gplv3(self): |
235 | self.write_config('INCOMPATIBLE_LICENSE = "GPL-3.0-or-later"') | 235 | self.write_config('''INCOMPATIBLE_LICENSE = "GPL-3.0-or-later" |
236 | require conf/distro/include/no-gplv3.inc | ||
237 | ''') | ||
236 | result = bitbake('selftest-ed', ignore_status=True) | 238 | result = bitbake('selftest-ed', ignore_status=True) |
237 | self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output)) | 239 | self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output)) |
238 | lic_dir = get_bb_var('LICENSE_DIRECTORY') | 240 | lic_dir = get_bb_var('LICENSE_DIRECTORY') |