mavsdk SITL testing code coverage and upload to codecov.io

This commit is contained in:
Daniel Agar
2019-12-26 12:36:24 -05:00
parent 2120c87d1e
commit 30a73416dc
6 changed files with 39 additions and 7 deletions

View File

@@ -358,7 +358,7 @@ endif()
# optionally enable cmake testing (supported only on posix)
option(CMAKE_TESTING "Configure test targets" OFF)
if (${PX4_CONFIG} STREQUAL "px4_sitl_test")
if(${PX4_CONFIG} STREQUAL "px4_sitl_test")
set(CMAKE_TESTING ON)
endif()
if(CMAKE_TESTING)