move autotest to phpunit

This commit is contained in:
Thomas Mueller 2012-10-10 23:37:15 +02:00
parent 2c3674ea87
commit 39e1c22e0a
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ function execute_tests {
#test execution
echo "Testing with $1 ..."
cd tests
php -f index.php -- xml $1 > autotest-results-$1.xml
#php -f index.php -- xml $1 > autotest-results-$1.xml
phpunit --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml
}
#