From f59e7026d9d3f092bfc8c5a12f1df874085a5100 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Tue, 9 Mar 2021 08:55:43 +0100 Subject: [PATCH] :sparkles: (coverage): Add lcov --list when generating lcov coverage report --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 97d3e48c52..cb78784978 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,8 @@ coverage_lcov: @echo "🔬 Generating code coverage using lcov 📝" @mkdir -p $(UNIT_TESTS_COVERAGE_DIR) @lcov --capture --directory . --output-file $(UNIT_TESTS_COVERAGE_DIR)/_tmp_coverage.info - @lcov --remove $(UNIT_TESTS_COVERAGE_DIR)/_tmp_coverage.info '*googletest*' '*v1*' '*Xcode*' '*CommandLineTools*' '*tests/unit*' -o $(UNIT_TESTS_COVERAGE_DIR)/coverage.info + @lcov --remove $(UNIT_TESTS_COVERAGE_DIR)/_tmp_coverage.info '/usr/*' '*extern*' '*googletest*' '*v1*' '*Xcode*' '*CommandLineTools*' '*tests/unit*' -o $(UNIT_TESTS_COVERAGE_DIR)/coverage.info + @lcov --list $(UNIT_TESTS_COVERAGE_DIR)/coverage.info view_coverage: @echo ""