aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-30 14:21:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-30 15:07:11 +0100
commitfcb2fcae57df403f1fff4b9ddb6b2d52e41aea33 (patch)
tree63e5f12bcbe461857f4790141a6ab53916640a67
parentcf06e8aa07c8b60a377b4716be5c72311be12f1c (diff)
downloadopenembedded-core-fcb2fcae57df403f1fff4b9ddb6b2d52e41aea33.zip
openembedded-core-fcb2fcae57df403f1fff4b9ddb6b2d52e41aea33.tar.gz
openembedded-core-fcb2fcae57df403f1fff4b9ddb6b2d52e41aea33.tar.bz2
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@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/recipetool.py2
1 files changed, 1 insertions, 1 deletions
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)