summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-27 11:01:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-28 12:51:52 +0100
commitd04792b2ed74e1af115c1d5f4e4ea30beb610a12 (patch)
tree4e52a8804255c4450667963f832c786250ebf2e8 /bitbake
parente694d3773a6bceccc8cfbb1806660353650e694a (diff)
downloadpoky-d04792b2ed74e1af115c1d5f4e4ea30beb610a12.tar.gz
bitbake: tests/fetch: state which upstream failed
(Bitbake rev: 21098de09ee2f7a9f0b3f895bf2ffbdeb8c9ded5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/tests/fetch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index d711c77d35..74859f9d30 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -913,7 +913,7 @@ class FetchLatestVersionTest(FetcherTest):
913 ud = bb.fetch2.FetchData(k[1], self.d) 913 ud = bb.fetch2.FetchData(k[1], self.d)
914 pupver= ud.method.latest_versionstring(ud, self.d) 914 pupver= ud.method.latest_versionstring(ud, self.d)
915 verstring = pupver[0] 915 verstring = pupver[0]
916 self.assertTrue(verstring, msg="Could not find upstream version") 916 self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
917 r = bb.utils.vercmp_string(v, verstring) 917 r = bb.utils.vercmp_string(v, verstring)
918 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring)) 918 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
919 919
@@ -926,7 +926,7 @@ class FetchLatestVersionTest(FetcherTest):
926 ud = bb.fetch2.FetchData(k[1], self.d) 926 ud = bb.fetch2.FetchData(k[1], self.d)
927 pupver = ud.method.latest_versionstring(ud, self.d) 927 pupver = ud.method.latest_versionstring(ud, self.d)
928 verstring = pupver[0] 928 verstring = pupver[0]
929 self.assertTrue(verstring, msg="Could not find upstream version") 929 self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
930 r = bb.utils.vercmp_string(v, verstring) 930 r = bb.utils.vercmp_string(v, verstring)
931 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring)) 931 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
932 932