[oe-commits] [openembedded-core] 03/29: lib/oeqa/selftest/bbtests: update test_non_gplv3 to use selftest-ed

git at git.openembedded.org git at git.openembedded.org
Fri Mar 10 10:16:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 35b244b292cddb3ded31c2766fb1313511343f06
Author: Joshua Lock <joshua.g.lock at intel.com>
AuthorDate: Wed Mar 8 17:24:17 2017 +0000

    lib/oeqa/selftest/bbtests: update test_non_gplv3 to use selftest-ed
    
    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 at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/selftest/bbtests.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py
index 4d9eec1..c2b79c6 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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list