summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/recipetool.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-29 13:34:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-15 11:56:17 +0000
commit7836a7c4d49bbfdfe4f327b4ec09cc84ce34594f (patch)
tree8a278841b1d00f018e8684b696f9fcd73c1f9bd4 /meta/lib/oeqa/selftest/cases/recipetool.py
parent5258dd0cd082d3ca1663358e609256e592d1695a (diff)
downloadpoky-7836a7c4d49bbfdfe4f327b4ec09cc84ce34594f.tar.gz
meta/scripts: Manual git url branch additions
Following the scripted conversion adding branches to git:// SRC_URI entries, add the remaining references, mainly in the selftests and recipetool. (From OE-Core rev: 467aa56b8773e8dd2e8e29936684606d5e291888) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/recipetool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/recipetool.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py
index c2a53815d0..8dc00ac10e 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -357,7 +357,7 @@ class RecipetoolTests(RecipetoolBase):
357 tempsrc = os.path.join(self.tempdir, 'srctree') 357 tempsrc = os.path.join(self.tempdir, 'srctree')
358 os.makedirs(tempsrc) 358 os.makedirs(tempsrc)
359 recipefile = os.path.join(self.tempdir, 'libmatchbox.bb') 359 recipefile = os.path.join(self.tempdir, 'libmatchbox.bb')
360 srcuri = 'git://git.yoctoproject.org/libmatchbox' 360 srcuri = 'git://git.yoctoproject.org/libmatchbox;branch=master'
361 result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri + ";rev=9f7cf8895ae2d39c465c04cc78e918c157420269", '-x', tempsrc]) 361 result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri + ";rev=9f7cf8895ae2d39c465c04cc78e918c157420269", '-x', tempsrc])
362 self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' % result.output) 362 self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' % result.output)
363 checkvars = {} 363 checkvars = {}
@@ -447,7 +447,7 @@ class RecipetoolTests(RecipetoolBase):
447 self.assertTrue(os.path.isfile(recipefile)) 447 self.assertTrue(os.path.isfile(recipefile))
448 checkvars = {} 448 checkvars = {}
449 checkvars['LICENSE'] = set(['Apache-2.0']) 449 checkvars['LICENSE'] = set(['Apache-2.0'])
450 checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https' 450 checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https;branch=master'
451 inherits = ['setuptools3'] 451 inherits = ['setuptools3']
452 self._test_recipe_contents(recipefile, checkvars, inherits) 452 self._test_recipe_contents(recipefile, checkvars, inherits)
453 453
@@ -514,7 +514,7 @@ class RecipetoolTests(RecipetoolBase):
514 self.assertTrue(os.path.isfile(recipefile)) 514 self.assertTrue(os.path.isfile(recipefile))
515 checkvars = {} 515 checkvars = {}
516 checkvars['LICENSE'] = set(['GPLv2']) 516 checkvars['LICENSE'] = set(['GPLv2'])
517 checkvars['SRC_URI'] = 'git://git.yoctoproject.org/git/matchbox-terminal;protocol=http' 517 checkvars['SRC_URI'] = 'git://git.yoctoproject.org/git/matchbox-terminal;protocol=http;branch=master'
518 inherits = ['pkgconfig', 'autotools'] 518 inherits = ['pkgconfig', 'autotools']
519 self._test_recipe_contents(recipefile, checkvars, inherits) 519 self._test_recipe_contents(recipefile, checkvars, inherits)
520 520