mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-17 15:41:36 +08:00
Makefile: add target for unit tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user