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 -->
<target name="phpunit">
<exec command="phpunit
--log-xml ${basedir}/hudson/phpunit.xml
--log-pmd ${basedir}/hudson/phpunit.pmd.xml
--coverage-clover ${basedir}/hudson/coverage/clover.xml
<exec executable="phpunit" dir="${basedir}" failonerror="true">
<arg line=" --log-xml ${basedir}/hudson/phpunit.xml
--log-pmd ${basedir}/hudson/phpunit.pmd.xml
--coverage-clover ${basedir}/hudson/coverage/clover.xml
--coverage-html ${basedir}/hudson/coverage/
test/phpunit/AllTests.php
"/>
</exec>
</target>
<!-- remove for test