Skip to content
Snippets Groups Projects
Commit 99933b2c authored by Thomas Müller's avatar Thomas Müller
Browse files

adding environment variable to control coverage reporting

parent c3898061
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,12 @@ EOF ...@@ -178,7 +178,12 @@ EOF
rm -rf coverage-html-$1 rm -rf coverage-html-$1
mkdir coverage-html-$1 mkdir coverage-html-$1
php -f enable_all.php php -f enable_all.php
phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 $2 $3 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
} }
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment