|
From: Scott M S. <st...@us...> - 2003-01-21 02:45:18
|
User: starksm
Date: 03/01/20 18:45:17
Modified: . build.xml
Log:
- Set the default timeout to 3 mins
- Update the tests report to created an html archive time stamped with the
run time
- Change the results web site location
Revision Changes Path
1.215 +16 -4 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -r1.214 -r1.215
--- build.xml 18 Jan 2003 12:01:57 -0000 1.214
+++ build.xml 21 Jan 2003 02:45:16 -0000 1.215
@@ -10,7 +10,7 @@
<!ENTITY mqstress SYSTEM "./mqstress.xml">
]>
-<!-- $Id: build.xml,v 1.214 2003/01/18 12:01:57 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.215 2003/01/21 02:45:16 starksm Exp $ -->
<!--+======================================================================+-->
<!--| JBoss (The OpenSource J2EE WebOS) Build File |-->
@@ -50,6 +50,11 @@
<target name="init" depends="_default:init">
<!-- Add module specific elements here. -->
+ <tstamp>
+ <format property="TIMENOW" pattern="yyyy-MM-dd.HH-mm" timezone="GMT"/>
+ </tstamp>
+ <echo message="${TIMENOW}" file="run.tstamp" />
+ <echo message="Set timestamp to: ${TIMENOW}" />
</target>
@@ -128,7 +133,7 @@
<!--+=======================================+-->
<!-- Override JUnit defaults -->
- <property name="junit.timeout" value="1200000"/> <!-- 20 minutes -->
+ <property name="junit.timeout" value="180000"/> <!-- 3 minutes -->
<property name="junit.batchtest.todir" value="${build.reports}"/>
<!-- Configure defaults & build tools -->
@@ -4442,7 +4447,13 @@
<delete dir="${build.reports}"/>
</target>
- <target name="tests-report" depends="tests-report-html, tests-report-text"/>
+ <target name="tests-report" depends="tests-report-html, tests-report-text">
+ <tar tarfile="${module.output}/${TIMENOW}.tgz" compression="gzip" longfile="gnu">
+ <tarfileset dir="${build.reports}/html" prefix="${TIMENOW}">
+ <include name="**"/>
+ </tarfileset>
+ </tar>
+ </target>
<target name="tests-report-html" depends="_default:compile-stylesheets">
<mkdir dir="${build.reports}/html"/>
@@ -4491,7 +4502,8 @@
<param name="os_name" expression="${os.name}"/>
<param name="os_arch" expression="${os.arch}"/>
<param name="os_version" expression="${os.version}"/>
- <param name="builduid" expression="${build.uid}"/>
+ <param name="builduid" expression="${TIMENOW}"/>
+ <param name="results_web" expression="http://users.jboss.org/~starksm/HEAD"/>
</style>
</target>
|