autotest: use SITL replay

This commit is contained in:
Andrew Tridgell 2020-11-09 07:55:53 +11:00
parent 3152da98e1
commit f674d124d6
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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: