summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/recipetool.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/recipetool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/recipetool.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py
index db8790b57b..db21325155 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -444,13 +444,13 @@ class RecipetoolCreateTests(RecipetoolBase):
444 temprecipe = os.path.join(self.tempdir, 'recipe') 444 temprecipe = os.path.join(self.tempdir, 'recipe')
445 os.makedirs(temprecipe) 445 os.makedirs(temprecipe)
446 recipefile = os.path.join(temprecipe, 'meson_git.bb') 446 recipefile = os.path.join(temprecipe, 'meson_git.bb')
447 srcuri = 'https://github.com/mesonbuild/meson;rev=0.32.0' 447 srcuri = 'https://github.com/mesonbuild/meson;rev=1.3.1'
448 result = runCmd(['recipetool', 'create', '-o', temprecipe, srcuri]) 448 result = runCmd(['recipetool', 'create', '-o', temprecipe, srcuri])
449 self.assertTrue(os.path.isfile(recipefile)) 449 self.assertTrue(os.path.isfile(recipefile))
450 checkvars = {} 450 checkvars = {}
451 checkvars['LICENSE'] = set(['Apache-2.0']) 451 checkvars['LICENSE'] = set(['Apache-2.0', 'Proprietary', 'Unknown'])
452 checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https;branch=master' 452 checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https;branch=1.3'
453 inherits = ['setuptools3'] 453 inherits = ['python_setuptools_build_meta']
454 self._test_recipe_contents(recipefile, checkvars, inherits) 454 self._test_recipe_contents(recipefile, checkvars, inherits)
455 455
456 def test_recipetool_create_python3_setuptools(self): 456 def test_recipetool_create_python3_setuptools(self):
@@ -476,15 +476,15 @@ class RecipetoolCreateTests(RecipetoolBase):
476 # Basic test to ensure github URL mangling doesn't apply to release tarballs 476 # Basic test to ensure github URL mangling doesn't apply to release tarballs
477 temprecipe = os.path.join(self.tempdir, 'recipe') 477 temprecipe = os.path.join(self.tempdir, 'recipe')
478 os.makedirs(temprecipe) 478 os.makedirs(temprecipe)
479 pv = '0.32.0' 479 pv = '1.3.1'
480 recipefile = os.path.join(temprecipe, 'meson_%s.bb' % pv) 480 recipefile = os.path.join(temprecipe, 'meson_%s.bb' % pv)
481 srcuri = 'https://github.com/mesonbuild/meson/releases/download/%s/meson-%s.tar.gz' % (pv, pv) 481 srcuri = 'https://github.com/mesonbuild/meson/releases/download/%s/meson-%s.tar.gz' % (pv, pv)
482 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri)) 482 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
483 self.assertTrue(os.path.isfile(recipefile)) 483 self.assertTrue(os.path.isfile(recipefile))
484 checkvars = {} 484 checkvars = {}
485 checkvars['LICENSE'] = set(['Apache-2.0']) 485 checkvars['LICENSE'] = set(['Apache-2.0', 'Proprietary', 'Unknown'])
486 checkvars['SRC_URI'] = 'https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz' 486 checkvars['SRC_URI'] = 'https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz'
487 inherits = ['setuptools3'] 487 inherits = ['python_setuptools_build_meta']
488 self._test_recipe_contents(recipefile, checkvars, inherits) 488 self._test_recipe_contents(recipefile, checkvars, inherits)
489 489
490 def _test_recipetool_create_git(self, srcuri, branch=None): 490 def _test_recipetool_create_git(self, srcuri, branch=None):