summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r--bitbake/lib/bb/tests/fetch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 13555bd677..8dd8ddb071 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -697,7 +697,8 @@ class FetchMethodTest(FetcherTest):
697 self.d.setVar("SRCREV", k[2]) 697 self.d.setVar("SRCREV", k[2])
698 self.d.setVar("GITTAGREGEX", k[3]) 698 self.d.setVar("GITTAGREGEX", k[3])
699 ud = bb.fetch2.FetchData(k[1], self.d) 699 ud = bb.fetch2.FetchData(k[1], self.d)
700 verstring = ud.method.latest_versionstring(ud, self.d) 700 pupver= ud.method.latest_versionstring(ud, self.d)
701 verstring = pupver[0]
701 r = bb.utils.vercmp_string(v, verstring) 702 r = bb.utils.vercmp_string(v, verstring)
702 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring)) 703 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
703 704