Skip to content

Commit

Permalink
✨ (coverage): Add lcov --list when generating lcov coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Mar 9, 2021
1 parent 9932d43 commit f59e702
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit f59e702

Please sign in to comment.