diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-28 00:38:55 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-28 00:38:55 +0100 |
commit | e9f365536e1f6e65451d16d4c5bbd871c7107d04 (patch) | |
tree | eb0bff87abc08f615b87a5f9747d3668cf2d9855 /scripts | |
parent | 160043ed5058ed19770055b11cc0710969a50aca (diff) | |
download | vyos-build-e9f365536e1f6e65451d16d4c5bbd871c7107d04.tar.gz vyos-build-e9f365536e1f6e65451d16d4c5bbd871c7107d04.zip |
Testsuite: raise exception when smoketest could not be executed
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-qemu-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 5789a78..88477af 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -297,8 +297,8 @@ try: elif i==1: raise Exception('Set syntax failed :/') elif i==2: - log.error("Did not find VyOS-smoketest, this should be an exception") - #raise Exception("WTF? did not find VyOS-smoketest, this should be an exception") + log.error("Did not find VyOS smoketest, this should be an exception") + raise Exception("WTF? did not find VyOS smoketest, this should be an exception") cr(c, '/usr/bin/vyos-smoketest') log.info("Smoke test status") |