Commit:    0d816e0cd139375e92aafe20b69d00bb20d05b08
Author:    Nuno Lopes <nlop...@php.net>         Mon, 7 May 2018 11:20:20 -0400
Parents:   5e659c4392e928a37991e255a80555e980217143
Branches:  master

Link:       
http://git.php.net/?p=web/gcov.git;a=commitdiff;h=0d816e0cd139375e92aafe20b69d00bb20d05b08

Log:
gcov: add debug output

Changed paths:
  M  cron/cron.sh


Diff:
diff --git a/cron/cron.sh b/cron/cron.sh
index b667465..d3145f8 100755
--- a/cron/cron.sh
+++ b/cron/cron.sh
@@ -140,14 +140,16 @@ do
                        export TEST_PHP_ARGS
 
                        # test for lcov support
-                       if ( grep lcov Makefile >/dev/null 2>&1 ); then
-                               make lcov > ${TMPDIR}/php_test.log
+                       if ( grep -q lcov Makefile ); then
+                               echo "Doing lcov build" > ${TMPDIR}/php_test.log
+                               make lcov >> ${TMPDIR}/php_test.log
                                if [ -d lcov_html ]; then
                                        rm -fr ${OUTDIR}/lcov_html
                                        mv lcov_html ${OUTDIR}
                                fi
                        else
-                               make test > ${TMPDIR}/php_test.log
+                               echo "Doing non-lcov build" > 
${TMPDIR}/php_test.log
+                               make test >> ${TMPDIR}/php_test.log
                        fi
 
                        echo "make successful: ${PHPTAG}"


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to