diff options
author | Michal Čihař <michal@cihar.com> | 2013-08-12 19:13:05 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2013-08-12 19:13:12 +0400 |
commit | 0dd6a9aa4af5a0727fa078e62e47ffb91e5748ad (patch) | |
tree | 48ee3df01816ae8fb4d97922686126e7d58d14b9 /build.xml | |
parent | 85b45b560391283bbbf16447ddaa786c276172ce (diff) |
Make ant fail on testsuite failure
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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> |