mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user