Force the build to fail if a test fails.

This commit is contained in:
Ben Hale
2007-09-11 14:40:39 +00:00
parent 0db3917e4b
commit b31a335431

View File

@@ -870,7 +870,7 @@
we want to optionally run all tests and report on the whole
batch, then we need to set a failure property as in the server
tests. -->
<junit forkmode="perBatch" printsummary="yes" haltonfailure="no" haltonerror="no"
<junit forkmode="perBatch" printsummary="yes" haltonfailure="yes" haltonerror="yes"
dir="${basedir}">
<jvmarg value="${unitvm}" />
<jvmarg value="-Djava.security.auth.login.config=${target.testclasses.dir}/auth.conf" />