diff options
author | Ross Burton <ross.burton@intel.com> | 2017-09-07 10:24:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-07 11:47:50 +0100 |
commit | 3f034d2172bf64ecc43577b43e0cf032a54b1358 (patch) | |
tree | e842fb896477eb5ade766346ab9fea4f4289b8f3 /lib/toaster/bldcontrol/management/commands/runbuilds.py | |
parent | c45453d1f6bc7bcecd84f58e2f7d93d6bd1e8499 (diff) | |
download | bitbake-contrib-3f034d2172bf64ecc43577b43e0cf032a54b1358.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/bldcontrol/management/commands/runbuilds.py')
0 files changed, 0 insertions, 0 deletions