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

View File

@@ -387,10 +387,7 @@ add_custom_target(test_results
set_target_properties(test_results PROPERTIES EXCLUDE_FROM_ALL TRUE)
# Integration testing using MAVSDK
option(MAVSDK_TESTING "Integration testing using MAVSDK" OFF)
if (MAVSDK_TESTING)
add_subdirectory(test/mavsdk_tests)
endif()
add_subdirectory(test/mavsdk_tests)
#=============================================================================
# subdirectories