mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 06:50:35 +08:00
mixer multirotor: add to CI
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
|
||||
.PHONY: all tests
|
||||
.PHONY: all tests clean
|
||||
all: test_mixer_multirotor
|
||||
|
||||
test_mixer_multirotor: test_mixer_multirotor.cpp mixer_multirotor.cpp mixer.cpp
|
||||
g++ $^ -I .. -DMIXER_MULTIROTOR_USE_MOCK_GEOMETRY -o $@
|
||||
@g++ $^ -std=c++11 -I .. -DMIXER_MULTIROTOR_USE_MOCK_GEOMETRY -o $@
|
||||
|
||||
tests: test_mixer_multirotor
|
||||
python mixer_multirotor.py --test --mixer-multirotor-binary ./$^
|
||||
@echo "Testing Mixer Multirotor"
|
||||
@python mixer_multirotor.py --test --mixer-multirotor-binary ./$^
|
||||
|
||||
clean:
|
||||
@rm test_mixer_multirotor
|
||||
|
||||
Reference in New Issue
Block a user