Abort build if tests fail

This commit is contained in:
Tom Morris 2013-08-16 18:23:50 -04:00
parent eeb082b763
commit 3828139ed0

View File

@ -173,7 +173,7 @@
<taskdef resource="testngtasks" classpath="${server.tests.lib.dir}/testng-6.8.jar"/>
<mkdir dir="${build.dir}/server_tests"/>
<target name="server_test" depends="build_tests">
<testng workingdir="${build.dir}/server_tests"
<testng haltonfailure=true workingdir="${build.dir}/server_tests"
listener="org.testng.reporters.DotTestListener" excludedgroups="broken"
classpathref="tests.class.path">
<xmlfileset file="${server.tests.dir}/conf/tests.xml"/>