cmake fix ctest output on failure for coverage (#8112)

This commit is contained in:
Daniel Agar 2017-10-11 14:08:40 -04:00 committed by GitHub
parent 5ddd95e18f
commit bb78931e69
1 changed files with 1 additions and 1 deletions

View File

@ -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