summaryrefslogtreecommitdiffstats
path: root/bitbake/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-11 17:19:37 +0100
commit96f258ba12d3184a631e846c73a23d131ebc6e7e (patch)
tree1a55b596653cefa6e2ebafad5c4631670ae7461d /bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
parent384d97663190535c512f4de3e4bdf093d0924ef7 (diff)
downloadpoky-96f258ba12d3184a631e846c73a23d131ebc6e7e.tar.gz
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: 3f034d2172bf64ecc43577b43e0cf032a54b1358) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py')
0 files changed, 0 insertions, 0 deletions