mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
autotest: use SITL replay
This commit is contained in:
parent
3152da98e1
commit
f674d124d6
@ -5296,6 +5296,9 @@ class AutoTestCopter(AutoTest):
|
|||||||
|
|
||||||
def test_replay(self):
|
def test_replay(self):
|
||||||
'''test replay correctness'''
|
'''test replay correctness'''
|
||||||
|
self.progress("Building Replay")
|
||||||
|
util.build_SITL('tools/Replay', clean=False, configure=False)
|
||||||
|
|
||||||
self.context_push()
|
self.context_push()
|
||||||
self.set_parameter("LOG_REPLAY", 1)
|
self.set_parameter("LOG_REPLAY", 1)
|
||||||
self.set_parameter("LOG_DISARMED", 1)
|
self.set_parameter("LOG_DISARMED", 1)
|
||||||
|
@ -413,7 +413,7 @@ def run_step(step):
|
|||||||
vehicle_binary = 'sitl_periph_gps.bin/AP_Periph'
|
vehicle_binary = 'sitl_periph_gps.bin/AP_Periph'
|
||||||
|
|
||||||
if step == 'build.Replay':
|
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 vehicle_binary is not None:
|
||||||
if len(vehicle_binary.split(".")) == 1:
|
if len(vehicle_binary.split(".")) == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user