Changed JUnit output to XML for Jenkins CI.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<description>Simple Framework for Testing Tree Search and Monte-Carlo Go</description>
|
||||
|
||||
<property name="src" location="src" />
|
||||
<property name="reports" location="reports" />
|
||||
<property name="build" location="build" />
|
||||
<property name="dist" location="dist" />
|
||||
<property name="test" location="test" />
|
||||
@@ -65,6 +66,7 @@
|
||||
<!-- Delete the ${build} and ${dist} directory trees -->
|
||||
<delete dir="${build}" />
|
||||
<delete dir="${dist}" />
|
||||
<delete dir="${reports}" />
|
||||
</target>
|
||||
|
||||
<target name="dist" depends="compile,copy-resources,copy-libs" description="generate the distribution">
|
||||
@@ -90,16 +92,17 @@
|
||||
<target name="init">
|
||||
<!-- Create the build directory structure used by compile -->
|
||||
<mkdir dir="${build}" />
|
||||
<mkdir dir="${reports}" />
|
||||
</target>
|
||||
|
||||
<target name="test" depends="compile-test">
|
||||
<junit haltonfailure="true">
|
||||
<classpath refid="classpath.test" />
|
||||
<formatter type="brief" usefile="false" />
|
||||
<batchtest>
|
||||
<formatter type="xml" />
|
||||
<batchtest todir="${reports}">
|
||||
<fileset dir="${build}" includes="**/*Test.class" />
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user