harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r501000 - in /harmony/enhanced/buildtest/trunk: HUT_iterative/ HUT_iterative/config/ config/
Date Mon, 29 Jan 2007 10:28:55 GMT
Author: smishura
Date: Mon Jan 29 02:28:54 2007
New Revision: 501000

URL: http://svn.apache.org/viewvc?view=rev&rev=501000
Log:
Apply patch for HARMONY-2655:
[buildtest][cc]iterative classlib tests runs incorporating

Tested on Windows for security modules with iterations=5

Added:
    harmony/enhanced/buildtest/trunk/HUT_iterative/
    harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.bat
    harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.sh
    harmony/enhanced/buildtest/trunk/HUT_iterative/README.txt
    harmony/enhanced/buildtest/trunk/HUT_iterative/build.xml
    harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties
    harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties.example
    harmony/enhanced/buildtest/trunk/HUT_iterative/config/
    harmony/enhanced/buildtest/trunk/HUT_iterative/config/config-HUT_iterative.xml
    harmony/enhanced/buildtest/trunk/HUT_iterative/modulesList
Modified:
    harmony/enhanced/buildtest/trunk/config/copyres.xml

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.bat
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.bat?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.bat (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.bat Mon Jan 29 02:28:54
2007
@@ -0,0 +1,57 @@
+@echo off
+
+set JRE=%1 
+set VMNAME=%2 
+set FORKMODE=%3 
+set CLASSLIB=%4 
+set ITER=%5 
+
+echo TESTEDVM  %JRE%
+echo VMNAME  %VMNAME% 
+echo FORKMODE  %FORKMODE%
+echo CLASSLIB %CLASSLIB%
+echo ITER  %ITER%
+
+copy modulesList %CLASSLIB%
+
+cd %CLASSLIB%
+
+set ANT_COMMAND=%ANT_HOME%\bin\ant.bat
+set start=1
+set step=1
+
+for /F %%i in (modulesList) do (
+ 	for /L %%A in (%start%,%step%,%ITER%) do (
+
+ 		echo %%i
+call %ANT_COMMAND% -Dtest.jre.home=%JRE% -Dhy.test.vm.name=%VMNAME% -Dbuild.module=%%i -Dhy.test.forkmode=%FORKMODE%
test 2>&1 > log_%%i_%%A.txt  
+
+rem		type log_%%i_%%A.txt
+
+  		move build\test_report build\test_report_%%i_%%A
+ 	)
+)
+
+for /F %%i in (modulesList) do (
+ 	for /L %%A in (%start%,%step%,%ITER%) do (	
+
+		echo test_report_%%i_%%A >> build\test_report_length.txt
+		dir build\test_report_%%i_%%A | find /C "Test.xml" >> build\test_report_length.txt
+
+ 	)
+)
+
+cd build
+
+rem find errors
+
+findstr /RS "errors=\"[1-9]\" " *Test.xml >> ERRORS.txt
+
+rem find failures
+
+findstr /RS "failures=\"[1-9]*\"" *Test.xml >> FAILURES.txt
+
+rem find crash candidates
+
+dir /O /S | find "Test.xml" | find "     0 TEST" >> ZERO_LENGTH.txt
+

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.sh
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.sh?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.sh (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/HUT_iterative_run.sh Mon Jan 29 02:28:54
2007
@@ -0,0 +1,78 @@
+#!/bin/sh
+#CLASSLIB=C:/Harmony-contribution/Harmony_svn/classlib
+# get the list of all modules
+
+#ls -la | awk '{print ($9)}' | grep -v "\." > modulesList
+
+JRE=$1 
+VMNAME=$2 
+FORKMODE=$3 
+CLASSLIB=$4 
+ITER=$5 
+
+echo TESTEDVM  ${JRE}
+echo VMNAME  ${VMNAME} 
+echo FORKMODE  ${FORKMODE}
+echo CLASSLIB ${CLASSLIB}
+echo ITER  ${ITER}
+
+cp modulesList ${CLASSLIB}
+
+cd ${CLASSLIB}
+
+#STAMP=`date +%Y%m%d%H%M%S`
+
+cat modulesList | while read moduleName; do
+
+	A=0
+	while [ "$A" -lt `expr ${ITER}` ]; do
+
+	echo ITERATION $A 
+
+
+	ant -Dtest.jre.home=${JRE} -Dhy.test.vm.name=${VMNAME}\
+		-Dbuild.module=$moduleName -Dhy.test.forkmode=${FORKMODE} \
+		test 2>&1 | tee log_${moduleName}_${A}.txt
+
+	mv build/test_report build/test_report_${moduleName}_${A}
+
+	A=`expr $A + 1`
+
+	done
+
+done
+
+cat modulesList | while read moduleName; do
+
+	echo $moduleName
+
+	A=0
+
+	while [ "$A" -lt `expr ${ITER}` ]; do
+
+	L=`ls -1 build/test_report_${moduleName}_${A} | grep xml | wc -l`
+
+	echo build/test_report_${moduleName}_${A} $L >> build/test_report_length.txt
+
+	A=`expr $A + 1`
+
+	done
+
+done
+
+cd build
+
+# find errors
+
+find test_report_* -name *Test.xml -exec grep -l "<testsuite errors=\"[1-9]*\" " {} \;
> ERRORS.txt
+
+# find failures
+
+find test_report_* -name *Test.xml -exec grep -l "failures=\"[1-9]*\"" {} \; > FAILURES.txt
+
+# find crash candidates
+
+find test_report_* -type f -size 0 | grep *.xml > ZERO_LENGTH.txt
+
+exit 0
+

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/README.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/README.txt?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/README.txt (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/README.txt Mon Jan 29 02:28:54 2007
@@ -0,0 +1,53 @@
+
+HUT_iterative directory of Build-Test Intfrastructure
+======================================================
+
+This directory contains config and scripts to iteratively run
+classlib tests of the Apache Harmony project.
+	
+To Setup
+--------
+
+1) Copy cc.properties.example to cc.properties, and update file with actual values.
+
+2) With Java, Ant and SVN installed, change into the buildtest/trunk
+   directory and type 
+   
+      ant -Dmodule=HUT_iterative setup
+      
+   This should fetch CruiseControl, set it up with the Apache Harmony 
+   configuration, and checkout the software to be built and tested
+   from Apache Harmony.
+   Also, as part of setup command the external libs for classlib and drlvm modules 
+   will be downloaded and these modules will be built first time.
+
+   Note, JAVA_HOME and ANT_HOME environment variable should be correctly set up
+   in your environment. Also ANT_OPTS variable should be set up to something like
+   set/export ANT_OPTS=-Xmx400M to compile Harmony classes.
+
+   
+To kickoff CruiseControl with iterative classlib tests run, just type :
+----------------------------------------------------------------------
+
+      ant
+      
+   in buildtest/trunk and that will launch CC with the test set.
+   
+ To check status, point your browser to 
+ 
+   http://localhost:8080/
+
+Iterative test run results 
+--------------------------
+are accumulated in classlib/trunk/build/test_report_${moduleName}_${iteration} 
+directories. After test cycle is complete, the results are merged and e-mailed 
+to the address predefined in cc.properties file. The FAILURES, ERRORS, ZERO_LENGTH 
+statistics are attached. Zip file with test reports, logs and statistics is available:
+classlib/trunk/results_drlvm_<timestamp>.zip 
+   
+FAQ
+---
+1) Q.: The test runs OK, but no passed/ failed information available. Why?
+   A.: This script was tested and works over the sun jdk only. If you run
+it over the BEA jdk it will fail.
+

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/build.xml?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/build.xml (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/build.xml Mon Jan 29 02:28:54 2007
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+    Copyright 2006 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. 
+-->
+
+<project name="HUT-iterative" default="default" basedir=".">
+	
+    <description>
+		CI/built/test system for Apache Harmony
+		http://incubator.apache.org/harmony
+    </description>
+
+	<!--The cc.property file contains the nameand values of properties-->
+	<property file="cc.properties" />
+
+	<echo file="${target.dir}/cc.properties" append="true">
+HUT_iterative_timeout=${HUT_iterative_cycle_timeout}
+HUT_iterations=${HUT_iterative_repetitions}
+HUT_forkmode=${HUT_iterative_forkmode}
+fs=${file.separator}
+
+	</echo>
+
+	<!-- ==========================================
+	       Kick off CC
+	     ========================================== -->
+	<target name="default" description="Start classlib unit tests iterative run" >
+	</target>
+		
+	<!-- ==========================================
+	     setup - config iterative classlib tests run
+	     ========================================== -->
+	<target name="setup" description="copy config file and scripts to target dir"  depends="win,unix">
+		
+		<copy file="config/config-HUT_iterative.xml" tofile="${target.dir}/config.xml" overwrite="true"
/>
+		<copy file="HUT_iterative_run.bat" tofile="${target.dir}/HUT_iterative/HUT_iterative_run.bat"
overwrite="true" />		
+		<copy file="HUT_iterative_run.sh" tofile="${target.dir}/HUT_iterative/HUT_iterative_run.sh"
overwrite="true" />		
+		<copy file="modulesList" tofile="${target.dir}/HUT_iterative/modulesList" overwrite="true"
/>		
+
+	</target>
+
+	<target name="win" if="is.windows">
+		<echo file="${target.dir}/cc.properties" append="true">
+cmd_HUT_iterative=HUT_iterative_run.bat
+</echo>
+	</target>
+
+	<target name="unix" if="is.unix">
+		<echo file="${target.dir}/cc.properties" append="true">
+cmd_HUT_iterative=HUT_iterative_run.sh
+</echo>
+	</target>
+
+</project> 

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties Mon Jan 29 02:28:54 2007
@@ -0,0 +1,29 @@
+##     Licensed to the Apache Software Foundation (ASF) under one
+##     or more contributor license agreements.  See the NOTICE file
+##     distributed with this work for additional information
+##     regarding copyright ownership.  The ASF licenses this file
+##     to you under the Apache License, Version 2.0 (the
+##     "License"); you may not use this file except in compliance
+##     with the License.  You may obtain a copy of the License at
+##
+##         http://www.apache.org/licenses/LICENSE-2.0
+##
+##     Unless required by applicable law or agreed to in writing,
+##     software distributed under the License is distributed on an
+##     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+##     KIND, either express or implied.  See the License for the
+##     specific language governing permissions and limitations
+##     under the License.    
+## ======================================================================================
+##
+##  example properties file.  Please rename to "cc.properties" and configure
+##  appropriately
+##
+##
+## --------------------------------------------------------------------
+## classlib tests iterative runs settings
+## --------------------------------------------------------------------
+HUT_iterative_cycle_timeout=259200
+HUT_iterative_repetitions=3
+HUT_iterative_forkmode=once
+##

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties.example
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties.example?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties.example (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/cc.properties.example Mon Jan 29 02:28:54
2007
@@ -0,0 +1,29 @@
+##     Licensed to the Apache Software Foundation (ASF) under one
+##     or more contributor license agreements.  See the NOTICE file
+##     distributed with this work for additional information
+##     regarding copyright ownership.  The ASF licenses this file
+##     to you under the Apache License, Version 2.0 (the
+##     "License"); you may not use this file except in compliance
+##     with the License.  You may obtain a copy of the License at
+##
+##         http://www.apache.org/licenses/LICENSE-2.0
+##
+##     Unless required by applicable law or agreed to in writing,
+##     software distributed under the License is distributed on an
+##     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+##     KIND, either express or implied.  See the License for the
+##     specific language governing permissions and limitations
+##     under the License.    
+## ======================================================================================
+##
+##  example properties file.  Please rename to "cc.properties" and configure
+##  appropriately
+##
+##
+## --------------------------------------------------------------------
+## classlib tests iterative runs settings
+## --------------------------------------------------------------------
+HUT_iterative_cycle_timeout=259200
+HUT_iterative_repetitions=50
+HUT_iterative_forkmode=once
+##

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/config/config-HUT_iterative.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/config/config-HUT_iterative.xml?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/config/config-HUT_iterative.xml (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/config/config-HUT_iterative.xml Mon Jan
29 02:28:54 2007
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cruisecontrol>
+
+    <!--The cc.property file contains the name and values of properties-->
+    <property file="cc.properties" />
+    <property name="cl.prefix" value="[build-test alert] BUILD FAILED ${os} ${cc} debug:
classlib "/>
+    <property name="vm.prefix" value="[build-test alert] BUILD FAILED ${os} ${cc} debug:
drlvm"/>
+    <property name="cl.prefix.ok" value="[build-test alert] BUILD FIXED ${os} ${cc} debug:
classlib "/>
+    <property name="vm.prefix.ok" value="[build-test alert] BUILD FIXED ${os} ${cc} debug:
drlvm"/>
+
+    <project name="classlib">
+
+        <listeners>
+            <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+        </listeners>
+
+        <bootstrappers>
+            <svnbootstrapper localWorkingCopy="projects/classlib/trunk" />
+            <svnbootstrapper localWorkingCopy="projects/drlvm/trunk" />
+        </bootstrappers>
+
+        <modificationset quietperiod="60">
+            <svn localWorkingCopy="projects/classlib/trunk"/>
+        </modificationset>
+
+        <schedule interval="${timeout}">
+        	<ant target="fetch-depends rebuild" antWorkingDir="projects/${project.name}/trunk"
timeout="${ttimeout}" usedebug="false">
+        	    <property name="${proxy.host.property}" value="${proxy.value}"/>
+        	    <property name="${proxy.port.property}" value="${port.value}"/>
+        	    <jvmarg arg="-Xms200M" />
+        	    <jvmarg arg="-Xmx700M" />
+        	</ant>
+        </schedule>
+
+	<publishers>
+            <antpublisher   
+                 antworkingdir="."  
+                 buildfile="copyres.xml"  
+                 uselogger="true"  
+                 usedebug="false"  
+                 target="copy.res"> 
+                <property name="VM" value="drlvm"/> 
+            </antpublisher> 
+            <onfailure>
+                <xsltlogpublisher directory="."  outfilename="classlib.txt"  xsltfile="br.xsl"
/>
+                <antpublisher   
+                     antworkingdir="."  
+                     buildfile="copyres.xml"  
+                     uselogger="true"  
+                     usedebug="true"  
+                     target="email.res"> 
+                     <property name="file" value="classlib.txt"/> 
+                     <property name="mailhost" value="${server_addr}"/>
+                     <property name="fromaddress" value="${report_from}"/>
+                     <property name="toaddress" value="${report_to}"/>
+                     <property name="subject" value="${cl.prefix}"/>
+                     <property name="flag" value="${project.name}"/>
+                </antpublisher> 
+            </onfailure>
+            <onsuccess>
+                <xsltlogpublisher directory="."  outfilename="classlib.txt.ok"  xsltfile="br.xsl"
/>
+                <antpublisher   
+                     antworkingdir="."  
+                     buildfile="copyres.xml"  
+                     uselogger="true"  
+                     usedebug="true"  
+                     target="email.res.ok"> 
+                     <property name="file" value="classlib.txt.ok"/> 
+                     <property name="mailhost" value="${server_addr}"/>
+                     <property name="fromaddress" value="${report_from}"/>
+                     <property name="toaddress" value="${report_to}"/>
+                     <property name="subject" value="${cl.prefix.ok}"/>
+                     <property name="flag" value="${project.name}"/>
+                </antpublisher> 
+            </onsuccess>
+        </publishers>
+
+    </project>
+
+    <project name="drlvm">
+
+        <listeners>
+            <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+        </listeners>
+
+        <modificationset quietperiod="30">
+            <svn localWorkingCopy="projects/drlvm/trunk"/>
+            <svn localWorkingCopy="projects/classlib/trunk"/>
+            <buildstatus logdir="logs/classlib"/>
+        </modificationset>
+
+        <schedule interval="${timeout}">
+        	<exec command="${sh}" args="${cmd.prefix} ${cmd} -D${proxy.host.vm}=${proxy.value}
-D${proxy.port.vm}=${port.value} -Dexternal.dep.CLASSLIB.loc=${wdir}/projects/classlib/trunk
clean update build" workingdir="projects/${project.name}/trunk/build" timeout="${ttimeout}"
errorstr="FAILED"/>
+        </schedule>
+
+	<publishers>
+            <onfailure>
+                <xsltlogpublisher directory="." outfilename="drlvm.txt" xsltfile="br.xsl"
/>
+                <antpublisher   
+                    antworkingdir="."  
+                    buildfile="copyres.xml"  
+                    uselogger="true"  
+                    usedebug="false"  
+                    target="email.res"> 
+                    <property name="file" value="drlvm.txt"/> 
+                    <property name="mailhost" value="${server_addr}"/>
+                    <property name="fromaddress" value="${report_from}"/>
+                    <property name="toaddress" value="${report_to}"/>
+                    <property name="subject" value="${vm.prefix}"/>
+                    <property name="flag" value="${project.name}"/>
+                </antpublisher> 
+            </onfailure>
+            <onsuccess>
+                <xsltlogpublisher directory="." outfilename="drlvm.txt.ok" xsltfile="br.xsl"
/>
+                <antpublisher   
+                    antworkingdir="."  
+                    buildfile="copyres.xml"  
+                    uselogger="true"  
+                    usedebug="false"  
+                    target="email.res.ok"> 
+                    <property name="file" value="drlvm.txt.ok"/> 
+                    <property name="mailhost" value="${server_addr}"/>
+                    <property name="fromaddress" value="${report_from}"/>
+                    <property name="toaddress" value="${report_to}"/>
+                    <property name="subject" value="${vm.prefix.ok}"/>
+                    <property name="flag" value="${project.name}"/>
+                </antpublisher> 
+            </onsuccess>
+	</publishers>
+
+    </project>
+
+    <project name="HUT-drlvm-iterative">
+
+        <listeners>
+            <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+        </listeners>
+
+        <modificationset quietperiod="60">
+            <svn localWorkingCopy="projects/classlib/trunk"/>
+            <svn localWorkingCopy="projects/drlvm/trunk"/>
+            <buildstatus logdir="logs/classlib"/>
+            <buildstatus logdir="logs/drlvm"/>
+	    <!--alwaysbuild/-->
+        </modificationset>
+
+        <schedule interval="${timeout}">
+        	<!--exec command="${sh}" args="${cmd.prefix} ${cmd_HUT_iterative} ${wdir}/projects/drlvm/trunk/build/${os}_ia32_${cc}_debug/deploy/jdk/jre
drl ${HUT_forkmode} ${wdir}/projects/classlib/trunk ${HUT_iterations}" workingdir="HUT_iterative"
timeout="${HUT_iterative_timeout}" errorstr="FAILED" /-->
+        	<exec command="${sh}" args="${cmd.prefix} ${cmd_HUT_iterative} ${wdir}${fs}projects${fs}drlvm${fs}trunk${fs}build${fs}${os}_ia32_${cc}_debug${fs}deploy${fs}jdk${fs}jre
drl ${HUT_forkmode} ${wdir}${fs}projects${fs}classlib${fs}trunk ${HUT_iterations}" workingdir="HUT_iterative"
timeout="${HUT_iterative_timeout}" errorstr="FAILED" />
+        </schedule>
+
+        <log dir="logs/${project.name}">
+            <merge dir="projects/classlib/trunk/build" pattern="TEST-*.xml" />
+        </log>
+			     
+	<publishers>
+            <antpublisher   
+                 antworkingdir="."  
+                 buildfile="copyres.xml"  
+                 uselogger="true"  
+                 usedebug="false"  
+                 target="copy.HUT-iterative.res"> 
+                <property name="VM" value="drlvm"/> 
+            </antpublisher> 
+            <onfailure>
+                <xsltlogpublisher directory="."  outfilename="HUT-iterative.txt"  xsltfile="br.xsl"
/>
+                <antpublisher   
+                     antworkingdir="."  
+                     buildfile="copyres.xml"  
+                     uselogger="true"  
+                     usedebug="true"  
+                     target="email.always.res"> 
+                     <property name="file" value="HUT-iterative.txt"/> 
+                     <property name="mailhost" value="${server_addr}"/>
+                     <property name="fromaddress" value="${report_from}"/>
+                     <property name="toaddress" value="${report_to}"/>
+                     <property name="subject" value="${cl.prefix} over drlvm"/>
+                     <property name="flag" value="${project.name}"/>
+                </antpublisher> 
+            </onfailure>
+            <onsuccess>
+                <xsltlogpublisher directory="."  outfilename="HUT-iterative.txt.ok"  xsltfile="br.xsl"
/>
+                <antpublisher   
+                     antworkingdir="."  
+                     buildfile="copyres.xml"  
+                     uselogger="true"  
+                     usedebug="true"  
+                     target="email.always.res"> 
+                     <property name="file" value="HUT-iterative.txt.ok"/> 
+                     <property name="mailhost" value="${server_addr}"/>
+                     <property name="fromaddress" value="${report_from}"/>
+                     <property name="toaddress" value="${report_to}"/>
+                     <property name="subject" value="${cl.prefix.ok} over drlvm"/>
+                     <property name="flag" value="${project.name}"/>
+                </antpublisher> 
+            </onsuccess>
+	</publishers>
+
+    </project>
+
+</cruisecontrol>

Added: harmony/enhanced/buildtest/trunk/HUT_iterative/modulesList
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/HUT_iterative/modulesList?view=auto&rev=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/HUT_iterative/modulesList (added)
+++ harmony/enhanced/buildtest/trunk/HUT_iterative/modulesList Mon Jan 29 02:28:54 2007
@@ -0,0 +1,25 @@
+accessibility
+archive
+auth
+awt
+beans
+crypto
+instrument
+jndi
+lang-management
+logging
+luni
+math
+nio
+nio_char
+prefs
+print
+regex
+rmi
+security
+sound
+sql
+swing
+text
+tools
+x-net

Modified: harmony/enhanced/buildtest/trunk/config/copyres.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/config/copyres.xml?view=diff&rev=501000&r1=500999&r2=501000
==============================================================================
--- harmony/enhanced/buildtest/trunk/config/copyres.xml (original)
+++ harmony/enhanced/buildtest/trunk/config/copyres.xml Mon Jan 29 02:28:54 2007
@@ -17,6 +17,7 @@
 
     <tstamp>
        <format property="timestamp" pattern="yyyyMMdd" />
+       <format property="timestampfull" pattern="yyyyMMddhhmm" />
     </tstamp>
 
     <target name="copy.res">
@@ -25,6 +26,14 @@
            <zipfileset dir="projects/classlib/trunk/build/test_report" includes="**/*.xml"
/>
         </zip>
     </target>
+    <target name="copy.HUT-iterative.res">
+       <zip destfile="projects/classlib/trunk/results_${VM}_${timestampfull}.zip" >
+	    <zipfileset dir="projects/classlib/trunk/build" includes="test_report_*/**/*" />

+	    <zipfileset dir="projects/classlib/trunk/build" includes="FAILURES.txt, ERRORS.txt,
ZERO_LENGTH.txt, test_report_length.txt" prefix="result" />
+	    <zipfileset dir="projects/classlib/trunk" includes="log_*.txt" prefix="logs" />

+        </zip>
+					   
+    </target>
     <target name="copy.vm.res">
        <delete file="projects/drlvm/trunk/results_${timestamp}.zip" failonerror="false"
/>
        <zip destfile="projects/drlvm/trunk/results_${timestamp}.zip" >
@@ -64,6 +73,21 @@
 		failonerror="false"
 		mailhost="${mailhost}"
 		subject="${subject}"/>
+    </target>
+
+    <target name="email.always.res" >
+	<mail	from="${fromaddress}" 
+		tolist="${toaddress}" 
+		messagefile="${file}" 
+		failonerror="false" 
+		mailhost="${mailhost}" 
+		subject="${subject}" >
+		<fileset dir="projects/classlib/trunk/build" includes="FAILURES.txt, ERRORS.txt, ZERO_LENGTH.txt,
test_report_length.txt" />
+	</mail>	
+	<delete dir="projects/classlib/trunk/build" /> 	
+	<delete> 
+	    <fileset dir="projects/classlib/trunk" includes="log_*.txt" /> 
+	</delete> 			   
     </target>
 
 </project>



Mime
View raw message