[oe-commits] [openembedded-core] branch krogoth updated: selftest/recipetool: Fix test for krogoth

git at git.openembedded.org git at git.openembedded.org
Tue May 30 14:07:51 UTC 2017


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

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

The following commit(s) were added to refs/heads/krogoth by this push:
     new fcb2fca  selftest/recipetool: Fix test for krogoth
fcb2fca is described below

commit fcb2fcae57df403f1fff4b9ddb6b2d52e41aea33
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue May 30 14:21:31 2017 +0100

    selftest/recipetool: Fix test for krogoth
    
    This test was backported and doesn't function quite the same way under
    krogoth since some of the extended python license checking wasn't yet
    added. This tweaks the output to match the expected result in krogoth.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/selftest/recipetool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index 2cccf2b..5cae8a7 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -451,7 +451,7 @@ class RecipetoolTests(RecipetoolBase):
         result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
         self.assertTrue(os.path.isfile(recipefile))
         checkvars = {}
-        checkvars['LICENSE'] = set(['Apache-2.0'])
+        checkvars['LICENSE'] = set(['Apache-2.0', 'Unknown'])
         checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https'
         inherits = ['setuptools']
         self._test_recipe_contents(recipefile, checkvars, inherits)

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


More information about the Openembedded-commits mailing list