summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-21 12:57:08 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-21 12:57:08 (GMT)
commitafc5127d8bc16795c937e6998f6745d2463a7523 (patch)
treedaa7e6eb6be450922ce227e2bb61eb4b7a477bb8
parentcf4fb40b9d68939d9cf5345a06547b2200e36b31 (diff)
parent33c898ec974b7ecff3c992342aaf142111010c89 (diff)
downloadcpython-afc5127d8bc16795c937e6998f6745d2463a7523.zip
cpython-afc5127d8bc16795c937e6998f6745d2463a7523.tar.gz
cpython-afc5127d8bc16795c937e6998f6745d2463a7523.tar.bz2
Merge heads
-rw-r--r--Makefile.pre.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 3ddeedf..292abb3 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -521,15 +521,23 @@ coverage-lcov:
--base-directory $(realpath $(abs_builddir)) \
--path $(realpath $(abs_srcdir)) \
--output-file $(COVERAGE_INFO)
- : # remove 3rd party modules and system headers
+ : # remove 3rd party modules, system headers and internal files with
+ : # debug, test or dummy functions.
@lcov --remove $(COVERAGE_INFO) \
+ '*/Modules/_blake2/impl/*' \
'*/Modules/_ctypes/libffi*/*' \
'*/Modules/_decimal/libmpdec/*' \
+ '*/Modules/_sha3/kcp/*' \
'*/Modules/expat/*' \
'*/Modules/zlib/*' \
'*/Include/*' \
+ '*/Modules/xx*.c' \
+ '*/Parser/listnode.c' \
+ '*/Python/pyfpe.c' \
+ '*/Python/pystrcmp.c' \
'/usr/include/*' \
'/usr/local/include/*' \
+ '/usr/lib/gcc/*' \
--output-file $(COVERAGE_INFO)
@genhtml $(COVERAGE_INFO) --output-directory $(COVERAGE_REPORT) \
$(COVERAGE_REPORT_OPTIONS)