Browse Source

autotest: do not time out receiving of heartbeat if running gdb

pausing indefinitely when running GDB is OK.
c415-sdk
Peter Barker 4 years ago committed by Peter Barker
parent
commit
61138f342a
  1. 2
      Tools/autotest/common.py

2
Tools/autotest/common.py

@ -5066,7 +5066,7 @@ Also, ignores heartbeats not from our target system''' @@ -5066,7 +5066,7 @@ Also, ignores heartbeats not from our target system'''
x["timeout"] = 1
tstart = time.time()
while True:
if time.time() - tstart > orig_timeout:
if time.time() - tstart > orig_timeout and not self.gdb:
if not self.sitl_is_running():
self.progress("SITL is not running")
raise AutoTestTimeoutException("Did not receive heartbeat")

Loading…
Cancel
Save