File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,10 @@ jobs:
7676 --filter ${GITHUB_WORKSPACE}/src \
7777 --exclude ${GITHUB_WORKSPACE}/include/hibf/contrib \
7878 --exclude ${GITHUB_WORKSPACE}/test/include/hibf/test/iterator_test_template.hpp \
79- --exclude-lines-by-pattern '^\s*$' \
80- --exclude-lines-by-pattern '^\s*};$' \
81- --exclude-lines-by-pattern '^\s*HIBF_UNREACHABLE;' \
82- --exclude-unreachable-branches \
83- --exclude-throw-branches \
79+ --exclude-lines-by-pattern '^\s*}|^\s*};|^\s*HIBF_UNREACHABLE;' \
8480 --exclude-noncode-lines \
81+ --exclude-throw-branches \
82+ --exclude-unreachable-branches \
8583 --merge-mode-functions separate \
8684 -j \
8785 --cobertura \
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ project (hibf_test_coverage CXX)
88# Add a custom build type: Coverage
99
1010set (CMAKE_CXX_FLAGS_COVERAGE
11- "${CMAKE_CXX_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage ${HIBF_FPROFILE_ABS_PATH} "
11+ "${CMAKE_CXX_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage -fprofile-abs-path "
1212 CACHE STRING "Flags used by the C++ compiler during coverage builds." FORCE )
1313set (CMAKE_C_FLAGS_COVERAGE
14- "${CMAKE_C_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage ${HIBF_FPROFILE_ABS_PATH} "
14+ "${CMAKE_C_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage -fprofile-abs-path "
1515 CACHE STRING "Flags used by the C compiler during coverage builds." FORCE )
1616set (CMAKE_EXE_LINKER_FLAGS_COVERAGE
1717 "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,-lgcov"
You can’t perform that action at this time.
0 commit comments