Update of /cvsroot/proxool/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv16617
Modified Files:
build.xml
Log Message:
new produce-test-report target
Index: build.xml
===================================================================
RCS file: /cvsroot/proxool/proxool/build.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** build.xml 27 Feb 2003 18:06:53 -0000 1.34
--- build.xml 28 Feb 2003 12:09:46 -0000 1.35
***************
*** 65,68 ****
--- 65,69 ----
<mkdir dir="${build-dir}/api"/>
<mkdir dir="${build-dir}/api-dev"/>
+ <mkdir dir="${build-dir}/reports"/>
<tstamp/>
</target>
***************
*** 282,292 ****
name="test"
description="Runs the JUnit tests"
- depends="clean,init,build-test,deleteTestDb"
>
<java fork="yes" classpathref="source" classname="junit.textui.TestRunner" >
<sysproperty key="log4jPath" value="${log4jPath}" />
- <sysproperty key="script" value="src/java-test/org/logicalcobwebs/proxool/script.xml" />
<arg value="org.logicalcobwebs.proxool.GlobalTest" />
</java>
</target>
--- 283,312 ----
name="test"
description="Runs the JUnit tests"
>
<java fork="yes" classpathref="source" classname="junit.textui.TestRunner" >
<sysproperty key="log4jPath" value="${log4jPath}" />
<arg value="org.logicalcobwebs.proxool.GlobalTest" />
</java>
+ </target>
+
+ <target
+ name="produce-test-report"
+ description="Produce a report of the tests"
+ depends="clean,init,build-test,deleteTestDb"
+ >
+ <junit fork="true" printsummary="yes" >
+ <classpath refid="source"/>
+ <sysproperty key="log4jPath" value="${log4jPath}" />
+ <test name="org.logicalcobwebs.proxool.GlobalTest" todir="${build-dir}/reports" />
+ <formatter type="xml" />
+ </junit>
+
+ <junitreport>
+ <fileset dir="${build-dir}/reports" >
+ <include name="TEST-*.xml" />
+ </fileset>
+ <report format="noframes" todir="${build-dir}/reports" />
+ </junitreport>
+
</target>
|