mixer multirotor: add to CI

This commit is contained in:
Beat Küng
2018-12-11 13:21:54 +01:00
parent e8e3b00a10
commit 418df2516d
2 changed files with 13 additions and 5 deletions
+7 -3
View File
@@ -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