forked from Archive/PX4-Autopilot
cmake fix ctest output on failure for coverage (#8112)
This commit is contained in:
parent
5ddd95e18f
commit
bb78931e69
|
@ -94,7 +94,7 @@ add_custom_target(test_results
|
|||
set_target_properties(test_results PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||
|
||||
if (CMAKE_BUILD_TYPE STREQUAL Coverage)
|
||||
setup_target_for_coverage(test_coverage ${CMAKE_CTEST_COMMAND} coverage.info "--output-on-failure -T Test")
|
||||
setup_target_for_coverage(test_coverage "${CMAKE_CTEST_COMMAND} --output-on-failure -T Test" coverage.info)
|
||||
endif()
|
||||
|
||||
add_custom_target(test_results_junit
|
||||
|
|
Loading…
Reference in New Issue