diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-02-13 15:58:14 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-16 09:12:41 +0000 |
commit | 2e4a03db967ac1459b2764108fc54c4566a7e371 (patch) | |
tree | 9d399c2e62e27f102f394d84973b5809a1876235 /lib/bb/tests | |
parent | 8fa43245351f3ec0a5007b2742c08b7ef98e7879 (diff) | |
download | openembedded-core-contrib-2e4a03db967ac1459b2764108fc54c4566a7e371.tar.gz |
tests/fetch.py: latest_versionstring add set of PN
Add set of PN in data because now latest_versionstring use it for
validate version directory searching.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tests')
-rw-r--r-- | lib/bb/tests/fetch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index 6eb0f2dc18..d56ef49948 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -629,6 +629,7 @@ class FetchMethodTest(FetcherTest): else: def test_git_latest_versionstring(self): for k, v in self.test_git_uris.items(): + self.d.setVar("PN", k[0]) self.d.setVar("SRCREV", k[2]) self.d.setVar("GITTAGREGEX", k[3]) ud = bb.fetch2.FetchData(k[1], self.d) @@ -638,6 +639,7 @@ class FetchMethodTest(FetcherTest): def test_wget_latest_versionstring(self): for k, v in self.test_wget_uris.items(): + self.d.setVar("PN", k[0]) self.d.setVar("REGEX_URI", k[2]) self.d.setVar("REGEX", k[3]) ud = bb.fetch2.FetchData(k[1], self.d) |