diff options
author | Ross Burton <ross.burton@intel.com> | 2017-09-07 10:24:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:37:12 +0000 |
commit | 4284d918dc7451f6a4d00be065369e86bbaec4d2 (patch) | |
tree | 057239079cfe6f146d8eead129979f122d805151 /lib/toaster/toastergui | |
parent | aac956a0950c05bf58af1885474cd89bb9c8fbd1 (diff) | |
download | bitbake-contrib-4284d918dc7451f6a4d00be065369e86bbaec4d2.tar.gz |
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 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui')
0 files changed, 0 insertions, 0 deletions