Update of /cvsroot/proxool/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv5970
Modified Files:
build.xml
Log Message:
reporting
Index: build.xml
===================================================================
RCS file: /cvsroot/proxool/proxool/build.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** build.xml 28 Feb 2003 12:13:28 -0000 1.36
--- build.xml 2 Mar 2003 01:08:40 -0000 1.37
***************
*** 29,32 ****
--- 29,38 ----
<property name="release" value="0.7" />
+ <!-- Currect release, e.g. 0.6 -->
+ <property name="junit-report-description" value="Unit Test Report for CVS Snapshot" />
+
+ <!-- Currect release, e.g. 0.6 -->
+ <property name="junit-report-name" value="junit-cvs.html" />
+
<!-- Log4J configuration to use for testing. See proxool-ant.properties
file for more infomation. -->
***************
*** 66,70 ****
<mkdir dir="${build-dir}/api-dev"/>
<mkdir dir="${build-dir}/reports"/>
! <tstamp/>
</target>
--- 72,76 ----
<mkdir dir="${build-dir}/api-dev"/>
<mkdir dir="${build-dir}/reports"/>
! <available classname="junit.ui.TestRunner" property="junit.present"/>
</target>
***************
*** 296,299 ****
--- 302,306 ----
depends="clean,init,build-test,deleteTestDb"
>
+
<junit fork="true" printsummary="yes" >
<classpath refid="source"/>
***************
*** 309,312 ****
--- 316,329 ----
<report format="noframes" todir="${build-dir}/reports" />
</junitreport>
+
+ <move
+ file="${build-dir}/reports/junit-noframes.html"
+ tofile="${build-dir}/reports/${junit-report-name}" />
+
+ <replace
+ file="${build-dir}/reports/junit-${junit-report-name}.html"
+ token="Unit Test Results"
+ value="${junit-report-description}"
+ />
</target>
|