mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
@@ -232,7 +232,9 @@ INHERIT:remove = \"report-error\"
|
||||
self.assertLess(errorpos,continuepos, msg = "bitbake didn't pass do_fail_task. bitbake output: %s" % result.output)
|
||||
|
||||
def test_non_gplv3(self):
|
||||
self.write_config('INCOMPATIBLE_LICENSE = "GPL-3.0-or-later"')
|
||||
self.write_config('''INCOMPATIBLE_LICENSE = "GPL-3.0-or-later"
|
||||
require conf/distro/include/no-gplv3.inc
|
||||
''')
|
||||
result = bitbake('selftest-ed', ignore_status=True)
|
||||
self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output))
|
||||
lic_dir = get_bb_var('LICENSE_DIRECTORY')
|
||||
|
||||
Reference in New Issue
Block a user