com web/gcov: gcov: add debug output: cron/cron.sh

From: Date: Mon, 07 May 2018 15:20:20 +0000
Subject: com web/gcov: gcov: add debug output: cron/cron.sh
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26975@lists.php.net to get a copy of this message
Commit: 0d816e0cd139375e92aafe20b69d00bb20d05b08 Author: Nuno Lopes <nlopess@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}"

« previous php.webmaster (#26975) next »