aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/bldcontrol/management/commands/runbuilds.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-09-07 10:24:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-07 11:47:50 +0100
commit3f034d2172bf64ecc43577b43e0cf032a54b1358 (patch)
treee842fb896477eb5ade766346ab9fea4f4289b8f3 /lib/toaster/bldcontrol/management/commands/runbuilds.py
parentc45453d1f6bc7bcecd84f58e2f7d93d6bd1e8499 (diff)
downloadbitbake-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