Make ant fail on testsuite failure
This commit is contained in:
parent
85b45b5603
commit
0dd6a9aa4a
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user