made testlib failures fail the build :)

This commit is contained in:
James Strachan
2012-02-27 08:45:42 +00:00
parent f84d22f040
commit 9e6a9e2dc7
+2 -2
View File
@@ -130,7 +130,7 @@
<target name="testlib" depends="compileTestlib">
<mkdir dir="${output}/test-reports"/>
<junit printsummary="yes" haltonfailure="no">
<junit printsummary="yes" haltonfailure="true" logfailedtests="true">
<classpath>
<pathelement location="${kotlin-home}/lib/kotlin-runtime.jar"/>
<pathelement location="${basedir}/testlib/lib/junit-4.9.jar"/>
@@ -148,7 +148,7 @@
</test>
-->
<batchtest fork="yes" todir="${output}/test-reports">
<batchtest fork="yes" todir="${output}/test-reports" haltonerror="true">
<fileset dir="${output}/classes/testlib">
<include name="**/*Test.*"/>
</fileset>