forked from Archive/PX4-Autopilot
Makefile tests_coverage run ROS tests
This commit is contained in:
parent
6bdc18df6d
commit
b8e6fc2730
10
Makefile
10
Makefile
|
@ -287,6 +287,12 @@ tests:
|
||||||
UBSAN_OPTIONS="color=always"
|
UBSAN_OPTIONS="color=always"
|
||||||
|
|
||||||
tests_coverage:
|
tests_coverage:
|
||||||
|
@$(MAKE) clean
|
||||||
|
@$(MAKE) --no-print-directory posix_sitl_default PX4_CMAKE_BUILD_TYPE=Coverage
|
||||||
|
@$(MAKE) --no-print-directory posix_sitl_default sitl_gazebo PX4_CMAKE_BUILD_TYPE=Coverage
|
||||||
|
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_missions.test
|
||||||
|
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_offboard_attctl.test
|
||||||
|
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_offboard_posctl.test
|
||||||
@$(MAKE) --no-print-directory posix_sitl_default test_coverage_genhtml PX4_CMAKE_BUILD_TYPE=Coverage
|
@$(MAKE) --no-print-directory posix_sitl_default test_coverage_genhtml PX4_CMAKE_BUILD_TYPE=Coverage
|
||||||
@echo "Open $(SRC_DIR)/build/posix_sitl_default/coverage-html/index.html to see coverage"
|
@echo "Open $(SRC_DIR)/build/posix_sitl_default/coverage-html/index.html to see coverage"
|
||||||
|
|
||||||
|
@ -294,14 +300,12 @@ rostest: posix_sitl_default
|
||||||
@$(MAKE) --no-print-directory posix_sitl_default sitl_gazebo
|
@$(MAKE) --no-print-directory posix_sitl_default sitl_gazebo
|
||||||
|
|
||||||
tests_mission: rostest
|
tests_mission: rostest
|
||||||
@test/rostest_px4_run.sh mavros_posix_tests_missions.test
|
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_missions.test
|
||||||
|
|
||||||
tests_offboard: rostest
|
tests_offboard: rostest
|
||||||
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_offboard_attctl.test
|
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_offboard_attctl.test
|
||||||
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_offboard_posctl.test
|
@$(SRC_DIR)/test/rostest_px4_run.sh mavros_posix_tests_offboard_posctl.test
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# static analyzers (scan-build, clang-tidy, cppcheck)
|
# static analyzers (scan-build, clang-tidy, cppcheck)
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
.PHONY: scan-build posix_sitl_default-clang clang-tidy clang-tidy-fix clang-tidy-quiet cppcheck check_stack
|
.PHONY: scan-build posix_sitl_default-clang clang-tidy clang-tidy-fix clang-tidy-quiet cppcheck check_stack
|
||||||
|
|
Loading…
Reference in New Issue