aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2017-03-08 15:22:56 +0000
committerJoshua Lock <joshua.g.lock@intel.com>2017-03-08 17:01:34 +0000
commit4849b65985efb819f8e81f494e2009524accfa69 (patch)
treea5613c4aaf699c10d2f4ebc2946cb836b405c151
parent9eb2ab3ea56760f25d9acccab2231394ee2e0f8e (diff)
downloadopenembedded-core-contrib-4849b65985efb819f8e81f494e2009524accfa69.tar.gz
openembedded-core-contrib-4849b65985efb819f8e81f494e2009524accfa69.tar.bz2
openembedded-core-contrib-4849b65985efb819f8e81f494e2009524accfa69.zip
lib/oeqa/selftest/bbtests: update test_non_gplv3 to use selftest-edjoshuagl/selftest-gplv2
GPLv2 recipes have been moved to a new layer (meta-gplv2), instead of readline perform this test on the selftest-ed recipe in meta-selftest which has gplv2 and gplv3 variants. Tested with oe-selftest -r bbtests.BitbakeTests.test_non_gplv3 Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
-rw-r--r--meta/lib/oeqa/selftest/bbtests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py
index 4d9eec130a..c2b79c6351 100644
--- a/meta/lib/oeqa/selftest/bbtests.py
+++ b/meta/lib/oeqa/selftest/bbtests.py
@@ -231,11 +231,11 @@ INHERIT_remove = \"report-error\"
@testcase(1119)
def test_non_gplv3(self):
self.write_config('INCOMPATIBLE_LICENSE = "GPLv3"')
- result = bitbake('readline', ignore_status=True)
+ 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, 'readline/generic_GPLv3')))
- self.assertTrue(os.path.isfile(os.path.join(lic_dir, 'readline/generic_GPLv2')))
+ 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')))
@testcase(1422)
def test_setscene_only(self):