]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: tests/fetch: Resolve fetch error in bitbake-selftest
authorArmin Kuster <akuster808@gmail.com>
Sun, 1 Sep 2019 21:28:04 +0000 (14:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Sep 2019 21:30:42 +0000 (22:30 +0100)
commit963faf7a7f7260775c31b4d6265d840d910d1f3e
tree1f9e087314ffca6fc4449048b00b61573971c3db
parente47e2669161a802ef95aa65bcd7ccb2a5bcf921c
bitbake: tests/fetch: Resolve fetch error in bitbake-selftest

FAIL: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py", line 1229, in test_wget_latest_versionstring
      self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
      AssertionError: '' is not true : Could not find upstream version for db

[YOCTO #13496]

The Oracle UPSTREAM_CHECK_URI used changed and does not work with logic in wget.

Update UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to match the ones used in the
recipe. Also change the version being checked.

(Bitbake rev: 4cf5bb761c561ddea86f2875be35d05abc8486e1)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/tests/fetch.py