diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-29 13:34:24 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 10:54:32 +0000 |
| commit | 31007eb03e22cc20a1841af5781ba16e3dfbe340 (patch) | |
| tree | 41141e20485c99a05204a20a3e808e78d5f449bb /meta/lib/oeqa/selftest/cases/devtool.py | |
| parent | 07be05c69896b6d9f4da4b3ba122a1668c8c1200 (diff) | |
| download | poky-31007eb03e22cc20a1841af5781ba16e3dfbe340.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: 38fc0807eea14dc12610da4ba73c082d5a4b0744)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/devtool.py')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 0985434238..713efd71bd 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
| @@ -340,7 +340,7 @@ class DevtoolAddTests(DevtoolBase): | |||
| 340 | checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263' | 340 | checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263' |
| 341 | checkvars['S'] = '${WORKDIR}/git' | 341 | checkvars['S'] = '${WORKDIR}/git' |
| 342 | checkvars['PV'] = '0.1+git${SRCPV}' | 342 | checkvars['PV'] = '0.1+git${SRCPV}' |
| 343 | checkvars['SRC_URI'] = 'git://git.yoctoproject.org/git/dbus-wait;protocol=https' | 343 | checkvars['SRC_URI'] = 'git://git.yoctoproject.org/git/dbus-wait;protocol=https;branch=master' |
| 344 | checkvars['SRCREV'] = srcrev | 344 | checkvars['SRCREV'] = srcrev |
| 345 | checkvars['DEPENDS'] = set(['dbus']) | 345 | checkvars['DEPENDS'] = set(['dbus']) |
| 346 | self._test_recipe_contents(recipefile, checkvars, []) | 346 | self._test_recipe_contents(recipefile, checkvars, []) |
| @@ -880,7 +880,7 @@ class DevtoolUpdateTests(DevtoolBase): | |||
| 880 | self._check_repo_status(os.path.dirname(recipefile), expected_status) | 880 | self._check_repo_status(os.path.dirname(recipefile), expected_status) |
| 881 | 881 | ||
| 882 | result = runCmd('git diff %s' % os.path.basename(recipefile), cwd=os.path.dirname(recipefile)) | 882 | result = runCmd('git diff %s' % os.path.basename(recipefile), cwd=os.path.dirname(recipefile)) |
| 883 | addlines = ['SRCREV = ".*"', 'SRC_URI = "git://git.infradead.org/mtd-utils.git"'] | 883 | addlines = ['SRCREV = ".*"', 'SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master"'] |
| 884 | srcurilines = src_uri.split() | 884 | srcurilines = src_uri.split() |
| 885 | srcurilines[0] = 'SRC_URI = "' + srcurilines[0] | 885 | srcurilines[0] = 'SRC_URI = "' + srcurilines[0] |
| 886 | srcurilines.append('"') | 886 | srcurilines.append('"') |
