autotest: correct reboot in failure case for dock mode test
reboot will fail if we are still armed
This commit is contained in:
parent
d4587e787e
commit
b5be0dcd14
@ -6096,13 +6096,15 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
|
||||
self.print_exception_caught(e)
|
||||
ex = e
|
||||
break
|
||||
|
||||
self.context_pop()
|
||||
self.reboot_sitl()
|
||||
self.progress("All done")
|
||||
|
||||
if ex is not None:
|
||||
raise ex
|
||||
|
||||
self.reboot_sitl()
|
||||
self.progress("All done")
|
||||
|
||||
def tests(self):
|
||||
'''return list of all tests'''
|
||||
ret = super(AutoTestRover, self).tests()
|
||||
|
Loading…
Reference in New Issue
Block a user