Make ant fail on testsuite failure

This commit is contained in:
Michal Čihař 2013-08-12 17:13:05 +02:00
parent 85b45b5603
commit 0dd6a9aa4a

View File

@ -19,13 +19,13 @@
</target>
<target name="phpunit" description="Run unit tests using PHPUnit and generates junit.xml and clover.xml">
<exec executable="phpunit">
<exec executable="phpunit" failonerror="true">
<arg line="--configuration phpunit.xml.dist"/>
</exec>
</target>
<target name="phpunit-nocoverage" description="Run unit tests using PHPUnit and generates junit.xml">
<exec executable="phpunit">
<exec executable="phpunit" failonerror="true">
<arg line="--configuration phpunit.xml.nocoverage"/>
</exec>
</target>