From 061609322a172a578e096bfb4eaf3ed72b3c0403 Mon Sep 17 00:00:00 2001 From: James Goppert Date: Mon, 9 May 2016 12:01:20 -0400 Subject: [PATCH] Added command line output for coverage. --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 30f5c55f57..834ba1359d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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}