Browse Source

Added command line output for coverage.

master
James Goppert 9 years ago
parent
commit
061609322a
  1. 1
      test/CMakeLists.txt

1
test/CMakeLists.txt

@ -30,6 +30,7 @@ if (${CMAKE_BUILD_TYPE} STREQUAL "Profile") @@ -30,6 +30,7 @@ if (${CMAKE_BUILD_TYPE} STREQUAL "Profile")
add_custom_target(coverage
COMMAND ${CMAKE_CTEST_COMMAND}
COMMAND lcov --capture --directory . --output-file coverage.info
COMMAND lcov --summary coverage.info
COMMAND genhtml coverage.info --output-directory out
COMMAND x-www-browser out/index.html
WORKING_DIRECTORY ${CMAKE_BUILD_DIR}

Loading…
Cancel
Save