From 8475df91c7ee5783dfc5ce8dc902e79f2ac15457 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Fri, 24 Apr 2020 20:10:57 +0200 Subject: [PATCH] Fiddle with coverage report * Have better title * Delete stats after building report so that the next run starts with empty stats. * Remove unnecessary exclude --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 76f827240..cc2e9cd02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,11 +129,12 @@ if (BUILD_COVERAGE) ${GCOVR} ${CMAKE_BINARY_DIR} --root=${CMAKE_SOURCE_DIR} - --html --html-details + --html-details + --html-title "osm2pgsql coverage report" #--verbose #--keep + --delete '--exclude=.*contrib.*' - '--exclude=.*catch.hpp' --sort-percentage --gcov-executable=${GCOV}${gcov_param_} --output=${coverage_report_dir}/index.html)