can we rename the directory then? I really hate having the main build script in a subdir (I'm used to them in root), and if we can't agree on that, can we not call it "make"?

[EMAIL PROTECTED] wrote:
Author: tellison
Date: Tue Mar  7 10:01:56 2006
New Revision: 383946

URL: http://svn.apache.org/viewcvs?rev=383946&view=rev
Log:
Move test script into make dir, update doc, ignore temporary build artifacts

Added:
    incubator/harmony/enhanced/classlib/trunk/make/build-test.xml
Removed:
    incubator/harmony/enhanced/classlib/trunk/build-test.xml
Modified:
    incubator/harmony/enhanced/classlib/trunk/   (props changed)
    incubator/harmony/enhanced/classlib/trunk/RUNNING-TESTS.txt

Propchange: incubator/harmony/enhanced/classlib/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Mar  7 10:01:56 2006
@@ -6,3 +6,4 @@
 VME_COPYRIGHT.txt
 VME_README.txt
 VME_THIRD_PARTY_NOTICES.txt
+build

Modified: incubator/harmony/enhanced/classlib/trunk/RUNNING-TESTS.txt
URL: 
http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/RUNNING-TESTS.txt?rev=383946&r1=383945&r2=383946&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/RUNNING-TESTS.txt (original)
+++ incubator/harmony/enhanced/classlib/trunk/RUNNING-TESTS.txt Tue Mar  7 
10:01:56 2006
@@ -52,11 +52,11 @@
     $ cd make
     $ ant
- This should build and installl all java and native components
+    This should build and install all java and native components
2) Test : - in project root : + in make dir : $ ant -f build-test.xml
Added: incubator/harmony/enhanced/classlib/trunk/make/build-test.xml
URL: 
http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/make/build-test.xml?rev=383946&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/make/build-test.xml (added)
+++ incubator/harmony/enhanced/classlib/trunk/make/build-test.xml Tue Mar  7 
10:01:56 2006
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Copyright 2005 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="classlib-testt" default="test-all" basedir="..">
+
+    <description> Tests for classlib package</description>
+
+    <!-- set global properties for this build. -->
+
+    <property name="build.compiler" value="modern"/>
+
+    <property name="tests.output" value="../../target/test_report" />
+    <property name="target.output" value="../../deploy" />
+
+    <target name="test-all" depends="clean, test-luni, test-xnet, test-text, 
test-security, gen-report">
+       </target>
+
+       <target name="clean">
+               <delete dir="target" />
+       </target>
+
+       <target name="test-luni">
+        <echo message="=================================="/>
+        <echo message="Running tests for module luni"/>
+        <echo message="=================================="/>
+
+        <ant antfile="make/build.xml" dir="modules/luni" target="test"/>
+       </target>
+               
+       <target name="test-xnet">
+        <echo message="=================================="/>
+        <echo message="Running tests for module x-net"/>
+        <echo message="=================================="/>
+
+        <ant antfile="build.xml" dir="modules/x-net" target="test-run" />
+
+       </target>
+
+       <target name="test-text">
+        <echo message="=================================="/>
+        <echo message="Running tests for module text"/>
+        <echo message="=================================="/>
+
+        <ant antfile="build.xml" dir="modules/text" target="test-run" />
+
+       </target>
+               
+       <target name="test-security">
+       
+        <echo message="=================================="/>
+        <echo message="Running tests for module security"/>
+        <echo message="=================================="/>
+
+        <ant antfile="make/build.xml" dir="modules/security" 
target="test.classlib"/>
+       </target>
+
+       <target name="gen-report">
+               <junitreport todir="target/test_report">
+                 <fileset dir="target/test_report">
+                   <include name="TEST*-*.xml"/>
+                 </fileset>
+                 <report format="frames" todir="target/test_report/html"/>
+               </junitreport>
+    </target>
+
+</project>
\ No newline at end of file



Reply via email to