]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/bbtests: Update after license changes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Feb 2022 18:22:13 +0000 (18:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Feb 2022 16:43:38 +0000 (16:43 +0000)
Update the test to match the renamed license in the recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/bbtests.py

index e2b9290200ac128b35322229f6700bc87337fbf8..ce72c4bcc69d51934e3bb1c46cea528e882fd2bf 100644 (file)
@@ -228,8 +228,8 @@ INHERIT:remove = \"report-error\"
         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')
-        self.assertFalse(os.path.isfile(os.path.join(lic_dir, 'selftest-ed/generic_GPLv3')))
-        self.assertTrue(os.path.isfile(os.path.join(lic_dir, 'selftest-ed/generic_GPLv2')))
+        self.assertFalse(os.path.isfile(os.path.join(lic_dir, 'selftest-ed/generic_GPL-3.0-or-later')))
+        self.assertTrue(os.path.isfile(os.path.join(lic_dir, 'selftest-ed/generic_GPL-2.0-or-later')))
 
     def test_setscene_only(self):
         """ Bitbake option to restore from sstate only within a build (i.e. execute no real tasks, only setscene)"""