Fix test reports directory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH@646848 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d9d85d17a1
commit
2cad4a1e24
|
@ -52,6 +52,7 @@
|
|||
<property name="build.conf" value="${build.home}/conf"/>
|
||||
<property name="build.classes" value="${build.home}/classes"/>
|
||||
<property name="build.tests" value="${build.home}/tests"/>
|
||||
<property name="build.test.reports" value="${build.home}/test-reports"/>
|
||||
<property name="build.docs" value="${build.home}/docs/apidocs"/>
|
||||
<property name="build.src" value="${build.home}/src-ide" />
|
||||
|
||||
|
@ -284,6 +285,7 @@
|
|||
|
||||
<!-- Runs all tests -->
|
||||
<target name="-test-all" depends="compile.tests" unless="testcase">
|
||||
<mkdir dir="${build.test.reports}"/>
|
||||
<junit printsummary="yes" haltonfailure="yes" showoutput="yes">
|
||||
<formatter type="brief" />
|
||||
<classpath>
|
||||
|
@ -292,7 +294,7 @@
|
|||
<pathelement location="${junit.jar}"/>
|
||||
</classpath>
|
||||
|
||||
<batchtest fork="yes">
|
||||
<batchtest fork="yes" todir="${build.test.reports}">
|
||||
<fileset dir="${source.test}">
|
||||
<include name="**/Test*.java"/>
|
||||
<exclude name="**/TestAll*.java"/>
|
||||
|
@ -318,7 +320,7 @@
|
|||
<pathelement location="${junit.jar}"/>
|
||||
</classpath>
|
||||
|
||||
<test name="${testcase}" fork="yes">
|
||||
<test name="${testcase}" fork="yes" todir="${build.test.reports}">
|
||||
<formatter type="brief" usefile="false" />
|
||||
</test>
|
||||
</junit>
|
||||
|
|
Loading…
Reference in New Issue