diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/bbtests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py index 08cc4012fc..c4e50cbfa0 100644 --- a/meta/lib/oeqa/selftest/bbtests.py +++ b/meta/lib/oeqa/selftest/bbtests.py | |||
@@ -235,8 +235,9 @@ INHERIT_remove = \"report-error\" | |||
235 | self.addCleanup(ftools.remove_from_file, conf ,data) | 235 | self.addCleanup(ftools.remove_from_file, conf ,data) |
236 | result = bitbake('readline', ignore_status=True) | 236 | result = bitbake('readline', ignore_status=True) |
237 | self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output)) | 237 | self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output)) |
238 | self.assertFalse(os.path.isfile(os.path.join(self.builddir, 'tmp/deploy/licenses/readline/generic_GPLv3'))) | 238 | lic_dir = get_bb_var('LICENSE_DIRECTORY') |
239 | self.assertTrue(os.path.isfile(os.path.join(self.builddir, 'tmp/deploy/licenses/readline/generic_GPLv2'))) | 239 | self.assertFalse(os.path.isfile(os.path.join(lic_dir, 'readline/generic_GPLv3'))) |
240 | self.assertTrue(os.path.isfile(os.path.join(lic_dir, 'readline/generic_GPLv2'))) | ||
240 | 241 | ||
241 | @testcase(1422) | 242 | @testcase(1422) |
242 | def test_setscene_only(self): | 243 | def test_setscene_only(self): |