Output our test reports so that Bamboo can slurp them in.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@998 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2010-11-18 05:26:23 +00:00
parent 7142414377
commit 6d0cf46604
+3 -1
View File
@@ -145,11 +145,13 @@
description="Runs unit tests. Use -Dtest=Foo to run only FooTest."> description="Runs unit tests. Use -Dtest=Foo to run only FooTest.">
<taskdef name="unit" classpathref="test.classpath" <taskdef name="unit" classpathref="test.classpath"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/> classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
<mkdir dir="${deploy.dir}/test-reports"/>
<unit printsummary="off" haltonfailure="yes"> <unit printsummary="off" haltonfailure="yes">
<classpath refid="test.classpath"/> <classpath refid="test.classpath"/>
<sysproperty key="test_dir" value="${tclasses.dir}"/> <sysproperty key="test_dir" value="${tclasses.dir}"/>
<formatter type="brief" usefile="false"/> <formatter type="brief" usefile="false"/>
<batchtest> <formatter type="xml"/>
<batchtest todir="${deploy.dir}/test-reports">
<fileset dir="${tsrc.dir}" includes="**/*${test}*Test.java"/> <fileset dir="${tsrc.dir}" includes="**/*${test}*Test.java"/>
</batchtest> </batchtest>
</unit> </unit>