diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 6eb0f2dc18..d56ef49948 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -629,6 +629,7 @@ class FetchMethodTest(FetcherTest): | |||
629 | else: | 629 | else: |
630 | def test_git_latest_versionstring(self): | 630 | def test_git_latest_versionstring(self): |
631 | for k, v in self.test_git_uris.items(): | 631 | for k, v in self.test_git_uris.items(): |
632 | self.d.setVar("PN", k[0]) | ||
632 | self.d.setVar("SRCREV", k[2]) | 633 | self.d.setVar("SRCREV", k[2]) |
633 | self.d.setVar("GITTAGREGEX", k[3]) | 634 | self.d.setVar("GITTAGREGEX", k[3]) |
634 | ud = bb.fetch2.FetchData(k[1], self.d) | 635 | ud = bb.fetch2.FetchData(k[1], self.d) |
@@ -638,6 +639,7 @@ class FetchMethodTest(FetcherTest): | |||
638 | 639 | ||
639 | def test_wget_latest_versionstring(self): | 640 | def test_wget_latest_versionstring(self): |
640 | for k, v in self.test_wget_uris.items(): | 641 | for k, v in self.test_wget_uris.items(): |
642 | self.d.setVar("PN", k[0]) | ||
641 | self.d.setVar("REGEX_URI", k[2]) | 643 | self.d.setVar("REGEX_URI", k[2]) |
642 | self.d.setVar("REGEX", k[3]) | 644 | self.d.setVar("REGEX", k[3]) |
643 | ud = bb.fetch2.FetchData(k[1], self.d) | 645 | ud = bb.fetch2.FetchData(k[1], self.d) |