made testlib failures fail the build :)
This commit is contained in:
@@ -130,7 +130,7 @@
|
|||||||
<target name="testlib" depends="compileTestlib">
|
<target name="testlib" depends="compileTestlib">
|
||||||
<mkdir dir="${output}/test-reports"/>
|
<mkdir dir="${output}/test-reports"/>
|
||||||
|
|
||||||
<junit printsummary="yes" haltonfailure="no">
|
<junit printsummary="yes" haltonfailure="true" logfailedtests="true">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="${kotlin-home}/lib/kotlin-runtime.jar"/>
|
<pathelement location="${kotlin-home}/lib/kotlin-runtime.jar"/>
|
||||||
<pathelement location="${basedir}/testlib/lib/junit-4.9.jar"/>
|
<pathelement location="${basedir}/testlib/lib/junit-4.9.jar"/>
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
</test>
|
</test>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<batchtest fork="yes" todir="${output}/test-reports">
|
<batchtest fork="yes" todir="${output}/test-reports" haltonerror="true">
|
||||||
<fileset dir="${output}/classes/testlib">
|
<fileset dir="${output}/classes/testlib">
|
||||||
<include name="**/*Test.*"/>
|
<include name="**/*Test.*"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
|||||||
Reference in New Issue
Block a user