cvs: php-src(PHP_5_1) / Makefile.gcov
| From: | Jani Taskinen | Date: | Wed, 30 Nov 2005 22:47:06 +0000 |
| Subject: | cvs: php-src(PHP_5_1) / Makefile.gcov | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-35530@lists.php.net to get a copy of this message | ||
sniper Wed Nov 30 17:47:06 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src Makefile.gcov
Log:
MFH
http://cvs.php.net/diff.php/php-src/Makefile.gcov?r1=1.4.2.3&r2=1.4.2.4&ty=u
Index: php-src/Makefile.gcov
diff -u php-src/Makefile.gcov:1.4.2.3 php-src/Makefile.gcov:1.4.2.4
--- php-src/Makefile.gcov:1.4.2.3 Wed Nov 30 10:01:34 2005
+++ php-src/Makefile.gcov Wed Nov 30 17:47:03 2005
@@ -7,7 +7,7 @@
lcov-test: all
@echo "Running test suite"
- @find . -name \*.gcda | xargs rm -f
+ @find . -name \*.gcda -o -name \*.da -o -name \*.bbg? | xargs rm -f
-@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)";
then \
NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
@@ -29,7 +29,7 @@
@rm -rf lcov_data/
@$(mkinstalldirs) lcov_data/
@echo
- -@find . -name \*.gcda -o -name \*.gcno | sed -e 's/^\.\///' | sed -e
's/\.gcda//g' -e 's/\.gcno//g' | uniq | while read x; do \
+ -@find . -name \*.gcda -o -name \*.gcno -o -name \*.da | sed -e 's/^\.\///' | sed -e
's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | uniq | while read x;
do \
echo -n . ;\
dir=lcov_data/
dirname $$x; \
test -d "$$dir" || $(mkinstalldirs) "$$dir"; \
@@ -39,11 +39,20 @@
if test -f "$(top_srcdir)/$$x.re"; then \
ln -f -s $(top_srcdir)/$$x.re lcov_data/$$x.re; \
fi; \
+ if test -f "$(top_srcdir)/$$x.y"; then \
+ ln -f -s $(top_srcdir)/$$x.y lcov_data/$$x.y; \
+ fi; \
+ if test -f "$(top_srcdir)/$$x.l"; then \
+ ln -f -s $(top_srcdir)/$$x.l lcov_data/$$x.l; \
+ fi; \
if test -f "$(top_builddir)/$$x.c"; then \
ln -f -s $(top_builddir)/$$x.c lcov_data/$$x.c; \
fi; \
test -f "$$x.gcno" && cp $$x.gcno lcov_data/ ; \
test -f "$$x.gcda" && cp $$x.gcda lcov_data/ ; \
+ test -f "$$x.da" && cp $$x.da lcov_data/ ; \
+ test -f "$$x.bb" && cp $$x.bb lcov_data/ ; \
+ test -f "$$x.bbg" && cp $$x.bbg lcov_data/ ; \
done
@echo
@echo "Generating $@"