mirror of https://github.com/ArduPilot/ardupilot
Replay: move to using tool instead of tools program group
This commit is contained in:
parent
f4b2b3b214
commit
b39b4abb12
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@cd ../../ && modules/waf/waf-light configure --board sitl --debug --disable-scripting
|
@cd ../../ && modules/waf/waf-light configure --board sitl --debug --disable-scripting
|
||||||
@cd ../../ && modules/waf/waf-light --target tools/Replay
|
@cd ../../ && modules/waf/waf-light --target tool/Replay
|
||||||
@cp ../../build/sitl/tools/Replay Replay.elf
|
@cp ../../build/sitl/tool/Replay Replay.elf
|
||||||
@echo Built Replay.elf
|
@echo Built Replay.elf
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -95,7 +95,7 @@ class CheckReplayBranch(object):
|
||||||
subprocess.check_call(["./waf", "replay"])
|
subprocess.check_call(["./waf", "replay"])
|
||||||
|
|
||||||
def run_replay_on_log(self, logfile_path):
|
def run_replay_on_log(self, logfile_path):
|
||||||
subprocess.check_call(["./build/sitl/tools/Replay", logfile_path])
|
subprocess.check_call(["./build/sitl/tool/Replay", logfile_path])
|
||||||
|
|
||||||
def get_logs(self):
|
def get_logs(self):
|
||||||
return sorted(glob.glob("logs/*.BIN"))
|
return sorted(glob.glob("logs/*.BIN"))
|
||||||
|
|
|
@ -23,6 +23,6 @@ def build(bld):
|
||||||
)
|
)
|
||||||
|
|
||||||
bld.ap_program(
|
bld.ap_program(
|
||||||
program_groups=['tools','replay'],
|
program_groups=['tool','replay'],
|
||||||
use=vehicle + '_libs',
|
use=vehicle + '_libs',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue