Makefile: add target for unit tests

This commit is contained in:
Matthias Grob
2022-10-26 19:40:31 +02:00
parent 740d2fccb1
commit ac7e369418
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -386,6 +386,8 @@ tests_coverage:
@mkdir -p coverage
@lcov --directory build/px4_sitl_test --base-directory build/px4_sitl_test --gcov-tool gcov --capture -o coverage/lcov.info
test_unit:
@$(MAKE) tests TESTFILTER="unit\|functional"
rostest: px4_sitl_default
@$(MAKE) --no-print-directory px4_sitl_default sitl_gazebo