From: Marcus Boerger Date: Tue, 29 Jul 2008 08:10:44 +0000 (+0000) Subject: - MFH Exclude bundled libs from gcov processing X-Git-Tag: php-5.3.0alpha1~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a487c8b9649d50deae569823b9031edf55bd9135;p=php - MFH Exclude bundled libs from gcov processing --- 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 $@