mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
oeqa/selftest/recipetool: actually fix create_github test
The Meson revision was locked down but the license list change wasn't actually committed... Also specify the exact path for recipetool to write to, for clarity. (From OE-Core rev: cbd6a2de4d8bda44f1d53956acc49a4bef810e95) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
fe7fb00221
commit
3565a9697f
|
|
@ -448,10 +448,10 @@ class RecipetoolTests(RecipetoolBase):
|
|||
os.makedirs(temprecipe)
|
||||
recipefile = os.path.join(temprecipe, 'meson_git.bb')
|
||||
srcuri = 'https://github.com/mesonbuild/meson;rev=0.32.0'
|
||||
result = runCmd(['recipetool', 'create', '-o', temprecipe, srcuri])
|
||||
result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri])
|
||||
self.assertTrue(os.path.isfile(recipefile))
|
||||
checkvars = {}
|
||||
checkvars['LICENSE'] = set(['Apache-2.0', 'Unknown'])
|
||||
checkvars['LICENSE'] = set(['Apache-2.0'])
|
||||
checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https'
|
||||
inherits = ['setuptools']
|
||||
self._test_recipe_contents(recipefile, checkvars, inherits)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user