From 4a74f6f45e4935e69df2d88b78c8b9fb6275e4e4 Mon Sep 17 00:00:00 2001 From: Martin Hierholzer <martin.hierholzer@desy.de> Date: Mon, 12 Nov 2018 10:57:55 +0100 Subject: [PATCH] fixed adding the new option to the wrong line in the last commit --- cmake/make_coverage.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/make_coverage.sh.in b/cmake/make_coverage.sh.in index 140c455..f8b5719 100755 --- a/cmake/make_coverage.sh.in +++ b/cmake/make_coverage.sh.in @@ -25,11 +25,11 @@ rm -f `find . -name "*\.gcda"` make test -lcov --capture --directory . --output-file coverage_all.info +lcov --capture --directory . --output-file coverage_all.info --ignore-errors gcov #lcov capture also includes external stuff like glibc, boost etc. #only extract the reports for this project -lcov --extract coverage_all.info "@CMAKE_SOURCE_DIR@*" -o coverage_only_source_tree.info --ignore-errors gcov +lcov --extract coverage_all.info "@CMAKE_SOURCE_DIR@*" -o coverage_only_source_tree.info #Some parts of the source code might be excluded. Set EXCLUDE_FROM_COVERAGE to contain # a list of directories to be excluded from the coverage report. -- GitLab