Integration tests: Add Makefile target

This enables unfamiliar users to run the tests quickly without having to memorize all commandsline options.
This commit is contained in:
Lorenz Meier
2019-12-24 10:58:21 +01:00
parent cd75cc08d3
commit 663436fd47
4 changed files with 23 additions and 25 deletions
+4 -4
View File
@@ -141,10 +141,6 @@ else
endif
ifdef PX4_MAVSDK_TESTING
CMAKE_ARGS += -DMAVSDK_TESTING=ON
endif
# Functions
# --------------------------------------------------------------------
# describe how to build a cmake config
@@ -361,6 +357,10 @@ tests_coverage:
rostest: px4_sitl_default
@$(MAKE) --no-print-directory px4_sitl_default sitl_gazebo
tests_integration: px4_sitl gazebo mavsdk_tests
# Missing step: Gazebo model generation
@"$(SRC_DIR)"/test/mavsdk_tests/mavsdk_test_runner.py --speed-factor 100
tests_mission: rostest
@"$(SRC_DIR)"/test/rostest_px4_run.sh mavros_posix_tests_missions.test