Skip to content

Commit

Permalink
Ignore UNK category errors during lcov html generation
Browse files Browse the repository at this point in the history
The new lcov complains about some uncategorised lines for nested
functions.
  • Loading branch information
pablogsal committed Oct 21, 2024
1 parent 603f4e1 commit 481d7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pycoverage: ## Run the test suite, with Python code coverage
--cov-append $(PYTEST_ARGS) \
tests
$(PYTHON) -m coverage lcov -i -o pycoverage.lcov
genhtml *coverage.lcov --branch-coverage --output-directory memray-coverage $(GENHTMLOPTS)
genhtml *coverage.lcov --branch-coverage --output-directory memray-coverage $(GENHTMLOPTS) --ignore-errors category UNK

.PHONY: valgrind
valgrind: ## Run valgrind, with the correct configuration
Expand Down

0 comments on commit 481d7ae

Please sign in to comment.