adding environment variable to control coverage reporting
This commit is contained in:
parent
c3898061a8
commit
99933b2ca3
|
@ -178,7 +178,12 @@ EOF
|
|||
rm -rf coverage-html-$1
|
||||
mkdir coverage-html-$1
|
||||
php -f enable_all.php
|
||||
if [ -z "$NOCOVERAGE" ]; then
|
||||
phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 $2 $3
|
||||
else
|
||||
echo "No coverage"
|
||||
phpunit --configuration phpunit-autotest.xml $2 $3
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue