harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivavladi...@apache.org
Subject svn commit: r556547 - in /harmony/enhanced/buildtest/branches/2.0/adaptors: classlib-gui-test/ classlib-gui-test/adaptor.xml classlib-gui-test/parameters.xml classlib-test/adaptor.xml
Date Mon, 16 Jul 2007 08:34:07 GMT
Author: ivavladimir
Date: Mon Jul 16 01:34:01 2007
New Revision: 556547

URL: http://svn.apache.org/viewvc?view=rev&rev=556547
Log:
split classlib tests to GUI and all other tests

Added:
    harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/
    harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/adaptor.xml   (with
props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/parameters.xml   (with
props)
Modified:
    harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-test/adaptor.xml

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/adaptor.xml?view=auto&rev=556547
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/adaptor.xml (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/adaptor.xml Mon Jul
16 01:34:01 2007
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+    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. -->
+
+<!-- ====================================================================== 
+                    BT Adaptor Executing CLASSLIB Unit Tests
+     ====================================================================== -->
+<project name="classlib-test" default="run" basedir=".">
+
+    <property name="classlib-test.results.dir"
+              value="${results.dir}/${suite.name}"/>
+
+    <!-- the default value for JRE options -->
+    <property name="jre.options" value="-showversion"/>
+
+    <!-- do setup -->
+    <target name="setup">
+        <mkdir dir="${classlib-test.results.dir}"/>
+    </target>
+
+    <!-- do run -->
+    <target name="run">
+        <!-- remove old results (they have been archived after the run) -->
+        <delete quiet="true" verbose="false">
+            <fileset dir="${classlib-test.results.dir}" includes="**/*"/>
+        </delete>
+
+        <!-- time of the current test run -->
+        <tstamp>
+            <format property="classlib-test.run.time" pattern="yyyyMMdd_HHmm"/>
+        </tstamp>
+
+        <exec-ant dir="${classlib-test.trunk.dir}"
+                  targets="test"
+                  failonerror="false"
+                  failproperty="classlib-test.run.failed">
+            <jvmarg line="-Xmx800M"/>
+            <sysproperty key="test.jre.home"
+                            value="${classlib-test.tested.jre}"/>
+            <sysproperty key="tested.jre.options"
+                            value="${jre.options}"/>
+            <sysproperty key="exclude.interm"
+                            value="true"/>
+            <sysproperty key="build.module"
+                            value="awt,swing"/>
+        </exec-ant>
+
+        <!-- define the resulting files -->
+        <fileset id="classlib-test.results.set"
+                 dir="${classlib-test.trunk.dir}/build/test_report"
+                 includes="TEST-*.xml">
+            <date datetime="${classlib-test.run.time}"
+                  pattern="yyyyMMdd_HHmm"
+                  when="after"/>
+        </fileset>
+
+        <copy todir="${classlib-test.results.dir}">
+            <fileset refid="classlib-test.results.set"/>
+            <packagemapper from="*" to="*"/>
+        </copy>
+
+        <!-- store the results in an archive -->
+        <zip destfile="${results.dir}/${suite.name}_${classlib-test.run.time}.zip"
+             basedir="${classlib-test.results.dir}"/>
+
+        <fail message="There were CLASSLIB Unit Test failures."
+              if="classlib-test.run.failed"/>
+    </target>
+
+</project>
+

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/adaptor.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/parameters.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/parameters.xml?view=auto&rev=556547
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/parameters.xml (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/parameters.xml Mon
Jul 16 01:34:01 2007
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+    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. 
+-->
+
+<parameters depends="classlib,drlvm">
+
+    <required>
+        <tested.jre
+            description="Path to JRE under test"
+            value="${drlvm.parameters.shared.jre.dir}"/>
+        <trunk.dir
+            description="Path to CLASSLIB trunk directory"
+            value="${classlib.parameters.shared.trunk.dir}"/>
+    </required>
+
+    <optional>
+        <tested.jre.options
+            description="Options for tested JRE"
+            value="${jre.options}"/>
+    </optional>
+
+    <cc
+        results="${classlib-test.results.dir}"
+    />
+
+</parameters>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-gui-test/parameters.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-test/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-test/adaptor.xml?view=diff&rev=556547&r1=556546&r2=556547
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-test/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/classlib-test/adaptor.xml Mon Jul 16
01:34:01 2007
@@ -54,6 +54,8 @@
                             value="${jre.options}"/>
             <sysproperty key="exclude.interm"
                             value="true"/>
+            <sysproperty key="exclude.module"
+                            value="awt,swing"/>
         </exec-ant>
 
         <!-- define the resulting files -->



Mime
View raw message