Skip to content

Commit b3c4c0c

Browse files
committed
Fix coverage target for new location
1 parent 13aa558 commit b3c4c0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/python/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test: alldata
3737

3838
# Coverage; requires coverage module
3939
COVERAGE=$(shell hash python-coverage 2>&- && echo python-coverage || echo coverage)
40-
COVERAGE_FILES=$(PYDIR)/phonenumbers/*.py
40+
COVERAGE_FILES=$(subst $(PYDIR),.,$(wildcard $(PYDIR)/phonenumbers/*.py))
4141
coverage: alldata $(PYDIR)/tests/testdata/__init__.py coverage_clean coverage_generate coverage_report
4242
coverage_clean:
4343
cd $(PYDIR) && $(COVERAGE) -e

0 commit comments

Comments
 (0)