Fix: the command attribute is deprecated

This commit is contained in:
Regis Houssin 2011-09-17 11:21:18 +00:00
parent 54681e9195
commit aa8657f159

View File

@ -71,13 +71,14 @@
<!-- Run unit tests and generate junit.xml and clover.xml --> <!-- Run unit tests and generate junit.xml and clover.xml -->
<target name="phpunit"> <target name="phpunit">
<exec command="phpunit <exec executable="phpunit" dir="${basedir}" failonerror="true">
--log-xml ${basedir}/hudson/phpunit.xml <arg line=" --log-xml ${basedir}/hudson/phpunit.xml
--log-pmd ${basedir}/hudson/phpunit.pmd.xml --log-pmd ${basedir}/hudson/phpunit.pmd.xml
--coverage-clover ${basedir}/hudson/coverage/clover.xml --coverage-clover ${basedir}/hudson/coverage/clover.xml
--coverage-html ${basedir}/hudson/coverage/ --coverage-html ${basedir}/hudson/coverage/
test/phpunit/AllTests.php test/phpunit/AllTests.php
"/> "/>
</exec>
</target> </target>
<!-- remove for test <!-- remove for test