Make test failure set the ant process exit code.

This commit is contained in:
Mike Pope 2011-02-01 11:17:15 +00:00
parent a7d7bc5c93
commit db0bc87845
1 changed files with 2 additions and 1 deletions

View File

@ -583,7 +583,8 @@
if you have a version of Ant prior to 1.6 on UNIX:
export CLASSPATH=${CLASSPATH}:test/lib/junit.jar; ant testall
-->
<junit printsummary="on" errorproperty="error.junit" fork="yes" maxmemory="48m">
<junit printsummary="on" errorProperty="error.junit"
failureProperty="error.junit" fork="yes" maxmemory="48m">
<classpath refid="test.run.classpath"/>
<formatter type="xml" />