summaryrefslogtreecommitdiff
path: root/Makefile.gcov
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-07-29 08:10:44 +0000
committerMarcus Boerger <helly@php.net>2008-07-29 08:10:44 +0000
commita487c8b9649d50deae569823b9031edf55bd9135 (patch)
tree39174032b0121dce9113a3a0924c544d889d85bd /Makefile.gcov
parente30b104148dc20f0e862abb6593545ae7076faf2 (diff)
downloadphp-git-a487c8b9649d50deae569823b9031edf55bd9135.tar.gz
- MFH Exclude bundled libs from gcov processing
Diffstat (limited to 'Makefile.gcov')
-rw-r--r--Makefile.gcov3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.gcov b/Makefile.gcov
index e8da7d539d..25f292e329 100644
--- a/Makefile.gcov
+++ b/Makefile.gcov
@@ -61,6 +61,9 @@ php_lcov.info: lcov-test
test -f "$$x.bb" && cp $$x.bb lcov_data/$$y.bb ; \
test -f "$$x.bbg" && cp $$x.bbg lcov_data/$$y.bbg ; \
done
+ for dir in ext/bcmath/libbcmath ext/date/lib ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmbfl ext/mbstring/oniguruma ext/pcre/pcrelib ext/pdo_sqlite/libsqlite ext/sqlite/libsqlite ext/xmlrpc/libxmlrpc ext/zip/lib; do \
+ test -d lcov_data/$$dir && rm -rf lcov_data/$$dir ; \
+ done
@echo
@echo "Generating $@"
@$(LTP) --directory lcov_data/ --capture --base-directory=lcov_data --output-file $@