|
@@ -357,7 +357,7 @@ class RecipetoolTests(RecipetoolBase):
|
|
|
tempsrc = os.path.join(self.tempdir, 'srctree')
|
|
|
os.makedirs(tempsrc)
|
|
|
recipefile = os.path.join(self.tempdir, 'libmatchbox.bb')
|
|
|
- srcuri = 'git://git.yoctoproject.org/libmatchbox'
|
|
|
+ srcuri = 'git://git.yoctoproject.org/libmatchbox;branch=master'
|
|
|
result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri + ";rev=9f7cf8895ae2d39c465c04cc78e918c157420269", '-x', tempsrc])
|
|
|
self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' % result.output)
|
|
|
checkvars = {}
|
|
@@ -447,7 +447,7 @@ class RecipetoolTests(RecipetoolBase):
|
|
|
self.assertTrue(os.path.isfile(recipefile))
|
|
|
checkvars = {}
|
|
|
checkvars['LICENSE'] = set(['Apache-2.0'])
|
|
|
- checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https'
|
|
|
+ checkvars['SRC_URI'] = 'git://github.com/mesonbuild/meson;protocol=https;branch=master'
|
|
|
inherits = ['setuptools3']
|
|
|
self._test_recipe_contents(recipefile, checkvars, inherits)
|
|
|
|
|
@@ -514,7 +514,7 @@ class RecipetoolTests(RecipetoolBase):
|
|
|
self.assertTrue(os.path.isfile(recipefile))
|
|
|
checkvars = {}
|
|
|
checkvars['LICENSE'] = set(['GPLv2'])
|
|
|
- checkvars['SRC_URI'] = 'git://git.yoctoproject.org/git/matchbox-terminal;protocol=http'
|
|
|
+ checkvars['SRC_URI'] = 'git://git.yoctoproject.org/git/matchbox-terminal;protocol=http;branch=master'
|
|
|
inherits = ['pkgconfig', 'autotools']
|
|
|
self._test_recipe_contents(recipefile, checkvars, inherits)
|
|
|
|