mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Testsuite: raise exception when smoketest could not be executed
This commit is contained in:
parent
160043ed50
commit
e9f365536e
@ -297,8 +297,8 @@ try:
|
|||||||
elif i==1:
|
elif i==1:
|
||||||
raise Exception('Set syntax failed :/')
|
raise Exception('Set syntax failed :/')
|
||||||
elif i==2:
|
elif i==2:
|
||||||
log.error("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")
|
raise Exception("WTF? did not find VyOS smoketest, this should be an exception")
|
||||||
cr(c, '/usr/bin/vyos-smoketest')
|
cr(c, '/usr/bin/vyos-smoketest')
|
||||||
|
|
||||||
log.info("Smoke test status")
|
log.info("Smoke test status")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user