Browse Source

autotest: use SITL replay

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
f674d124d6
  1. 3
      Tools/autotest/arducopter.py
  2. 2
      Tools/autotest/autotest.py

3
Tools/autotest/arducopter.py

@ -5296,6 +5296,9 @@ class AutoTestCopter(AutoTest): @@ -5296,6 +5296,9 @@ class AutoTestCopter(AutoTest):
def test_replay(self):
'''test replay correctness'''
self.progress("Building Replay")
util.build_SITL('tools/Replay', clean=False, configure=False)
self.context_push()
self.set_parameter("LOG_REPLAY", 1)
self.set_parameter("LOG_DISARMED", 1)

2
Tools/autotest/autotest.py

@ -413,7 +413,7 @@ def run_step(step): @@ -413,7 +413,7 @@ def run_step(step):
vehicle_binary = 'sitl_periph_gps.bin/AP_Periph'
if step == 'build.Replay':
return util.build_SITL('tools/Replay', board='linux')
return util.build_SITL('tools/Replay', clean=False, configure=False)
if vehicle_binary is not None:
if len(vehicle_binary.split(".")) == 1:

Loading…
Cancel
Save