summaryrefslogtreecommitdiffstats
path: root/scripts/lnr
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-11-05 22:37:29 +0000
commit9351217eb78206bf0d4e801c9c33440f7b9ef41b (patch)
tree71c80fb473fd9c2ad47edf1b7d4fc52d8adb5d90 /scripts/lnr
parent449062508890e369ec7a124a1b9ce9ba7dd90ba7 (diff)
downloadpoky-9351217eb78206bf0d4e801c9c33440f7b9ef41b.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: 4284d918dc7451f6a4d00be065369e86bbaec4d2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lnr')
0 files changed, 0 insertions, 0 deletions