From 5f04280b76491279cdc45ee279d89272d46ad0d9 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Wed, 24 Oct 2018 18:03:12 +0200 Subject: [PATCH] Change coverage output Now sort table by coverage percentage --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73ee21548..ca49d2a4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,7 +216,7 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Coverage") add_custom_target(coverage ALL - COMMAND ${GCOVR} ${GCOVR_OPTIONS} + COMMAND ${GCOVR} ${GCOVR_OPTIONS} --exclude-unreachable-branches --sort-percentage DEPENDS run_unit_tests COMMENT "Running gcovr to build coverage report." ) -- GitLab