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:29 +0000 |
commit | 9351217eb78206bf0d4e801c9c33440f7b9ef41b (patch) | |
tree | 71c80fb473fd9c2ad47edf1b7d4fc52d8adb5d90 /meta/recipes-graphics/xorg-xserver | |
parent | 449062508890e369ec7a124a1b9ce9ba7dd90ba7 (diff) | |
download | poky-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 'meta/recipes-graphics/xorg-xserver')
0 files changed, 0 insertions, 0 deletions