generic-poky/bitbake/lib/bb/tests
Ross Burton 9351217eb7 bitbake: tests/fetch: handle network failures gracefully
If there is a network failure the return value from latest_versionstring() is
('','') which later causes an exception when comparing versions.

Improve this by checking the return value and failing the test early.

[ YOCTO #12053 ]

(Bitbake rev: 4284d918dc7451f6a4d00be065369e86bbaec4d2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 22:37:29 +00:00
..
__init__.py bitbake: Fixup bitbake-selftest 2012-05-04 17:41:47 +01:00
codeparser.py bitbake: bitbake-selftest: add contains tests 2017-04-05 23:19:17 +01:00
cow.py bitbake: tests: assertEquals -> assertEqual 2016-05-11 10:34:30 +01:00
data.py bitbake: data_smart: Ensure _remove operations on newly set variables are cleared 2017-04-12 15:09:58 +01:00
fetch.py bitbake: tests/fetch: handle network failures gracefully 2017-11-05 22:37:29 +00:00
parse.py bitbake: bitbake: remove True option to getVarFlag calls 2016-11-30 15:48:09 +00:00
utils.py bitbake: tests/utils.py: test origvalue in a callback matches what is expected 2016-04-09 23:00:46 +01:00