summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorPavel Zhukov <pavel@zhukoff.net>2023-01-18 08:28:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-20 17:49:26 +0000
commitf962c586fcdc3a4283f87b13c207053736fbce4c (patch)
tree77bd7eff44e0d91fea3a73a037bb1f69acbd5179 /bitbake
parent05fac8d648f7d4dbb99be22f1d85b8df783c6b78 (diff)
downloadpoky-f962c586fcdc3a4283f87b13c207053736fbce4c.tar.gz
bitbake: fetch2/tests: Add parameter to recipe_uri
While the parameter is not required it allows testing of possible regression in fetcher code when parameter specified and mirrors are used. (Bitbake rev: 1a21918049091a6d77426dbf8868ffdc14ba1003) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 2e5cd14205..f3890321d6 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -2852,7 +2852,7 @@ class FetchPremirroronlyLocalTest(FetcherTest):
2852 os.mkdir(self.mirrordir) 2852 os.mkdir(self.mirrordir)
2853 self.reponame = "bitbake" 2853 self.reponame = "bitbake"
2854 self.gitdir = os.path.join(self.tempdir, "git", self.reponame) 2854 self.gitdir = os.path.join(self.tempdir, "git", self.reponame)
2855 self.recipe_url = "git://git.fake.repo/bitbake" 2855 self.recipe_url = "git://git.fake.repo/bitbake;branch=master"
2856 self.d.setVar("BB_FETCH_PREMIRRORONLY", "1") 2856 self.d.setVar("BB_FETCH_PREMIRRORONLY", "1")
2857 self.d.setVar("BB_NO_NETWORK", "1") 2857 self.d.setVar("BB_NO_NETWORK", "1")
2858 self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n") 2858 self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n")