summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-06-07 15:28:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-07 15:59:03 +0100
commit3565a9697f53ba975a1b7235b802f659418746c3 (patch)
tree132a610ca80d777f5bb08ae9d902fdd48805ca9f
parentfe7fb002216f7886d49942333ea6d8592339bb05 (diff)
downloadpoky-3565a9697f53ba975a1b7235b802f659418746c3.tar.gz
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>
-rw-r--r--meta/lib/oeqa/selftest/recipetool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index 312684be27..0ec8381655 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -448,10 +448,10 @@ class RecipetoolTests(RecipetoolBase):
448 os.makedirs(temprecipe) 448 os.makedirs(temprecipe)
449 recipefile = os.path.join(temprecipe, 'meson_git.bb') 449 recipefile = os.path.join(temprecipe, 'meson_git.bb')
450 srcuri = 'https://github.com/mesonbuild/meson;rev=0.32.0' 450 srcuri = 'https://github.com/mesonbuild/meson;rev=0.32.0'
451 result = runCmd(['recipetool', 'create', '-o', temprecipe, srcuri]) 451 result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri])
452 self.assertTrue(os.path.isfile(recipefile)) 452 self.assertTrue(os.path.isfile(recipefile))
453 checkvars = {} 453 checkvars = {}
454 checkvars['LICENSE'] = set(['Apache-2.0', 'Unknown']) 454 checkvars['LICENSE'] = set(['Apache-2.0'])
455 checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https' 455 checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https'
456 inherits = ['setuptools'] 456 inherits = ['setuptools']
457 self._test_recipe_contents(recipefile, checkvars, inherits) 457 self._test_recipe_contents(recipefile, checkvars, inherits)