Skip to content

Commit d56ccd3

Browse files
authored
Merge pull request #61 from sir-gon/develop
[CONFIG] [make] coverage commands updated
2 parents 265fbf9 + b1a3952 commit d56ccd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ BUILDKIT_PROGRESS=plain
2424
DOCKER_COMPOSE=docker compose
2525

2626
# TOOLS
27-
COVERAGE_TOOL_OPTS=--config-file .lcovrc --ignore-errors empty
27+
COVERAGE_TOOL_OPTS=--config-file .lcovrc --ignore-errors empty --ignore-errors inconsistent
2828

2929
# C++ specific
3030
SRC_DIR = src
@@ -96,10 +96,10 @@ test: env dependencies build
9696
cd build && make test
9797

9898
coverage: test
99-
lcov ${COVERAGE_TOOL_OPTS} -o coverage/lcov.info --no-external -c --exclude "build/vcpkg_installed" --exclude "test.cpp" -d .
99+
lcov ${COVERAGE_TOOL_OPTS} -o coverage/lcov.info --no-external --capture --exclude "build/vcpkg_installed" --exclude "test.cpp" --directory .
100100

101101
coverage/html: coverage
102-
genhtml ${COVERAGE_TOOL_OPTS} -o coverage/ -s --legend coverage/lcov.info
102+
genhtml ${COVERAGE_TOOL_OPTS} -o coverage/ --show-details --legend coverage/lcov.info
103103
open coverage/index.html
104104

105105
outdated:

0 commit comments

Comments
 (0)