From b1a39529854fdd333fe964881f5851240a628724 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Fri, 25 Oct 2024 10:38:49 -0300 Subject: [PATCH] [CONFIG] [make] coverage commands updated --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ecaf2f3..3c8f340 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ BUILDKIT_PROGRESS=plain DOCKER_COMPOSE=docker compose # TOOLS -COVERAGE_TOOL_OPTS=--config-file .lcovrc --ignore-errors empty +COVERAGE_TOOL_OPTS=--config-file .lcovrc --ignore-errors empty --ignore-errors inconsistent # C++ specific SRC_DIR = src @@ -96,10 +96,10 @@ test: env dependencies build cd build && make test coverage: test - lcov ${COVERAGE_TOOL_OPTS} -o coverage/lcov.info --no-external -c --exclude "build/vcpkg_installed" --exclude "test.cpp" -d . + lcov ${COVERAGE_TOOL_OPTS} -o coverage/lcov.info --no-external --capture --exclude "build/vcpkg_installed" --exclude "test.cpp" --directory . coverage/html: coverage - genhtml ${COVERAGE_TOOL_OPTS} -o coverage/ -s --legend coverage/lcov.info + genhtml ${COVERAGE_TOOL_OPTS} -o coverage/ --show-details --legend coverage/lcov.info open coverage/index.html outdated: