mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
autotest: reset rather than reboot if required on test fail
This commit is contained in:
parent
d914e4e63b
commit
c12e0fa3af
@ -6570,8 +6570,12 @@ Also, ignores heartbeats not from our target system'''
|
||||
self.progress("Armed at end of test; force-rebooting SITL")
|
||||
self.disarm_vehicle(force=True)
|
||||
self.forced_post_test_sitl_reboots += 1
|
||||
self.progress("Force-resetting SITL")
|
||||
self.reboot_sitl() # that'll learn it
|
||||
if reset_needed:
|
||||
self.progress("Force-resetting SITL")
|
||||
self.reset_SITL_commandline()
|
||||
else:
|
||||
self.progress("Force-rebooting SITL")
|
||||
self.reboot_sitl() # that'll learn it
|
||||
passed = False
|
||||
|
||||
if self._mavproxy is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user