Replay: move to using tool instead of tools program group

This commit is contained in:
Siddharth Purohit 2021-07-05 15:09:16 +05:30 committed by Andrew Tridgell
parent f4b2b3b214
commit b39b4abb12
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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