harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r377437 - /incubator/harmony/enhanced/classlib/trunk/modules/x-net/build.xml
Date Mon, 13 Feb 2006 18:03:37 GMT
Author: geirm
Date: Mon Feb 13 10:03:37 2006
New Revision: 377437

URL: http://svn.apache.org/viewcvs?rev=377437&view=rev
Log:
first run in getting a basic integrated test framework - minor
changes

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/x-net/build.xml

Modified: incubator/harmony/enhanced/classlib/trunk/modules/x-net/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/x-net/build.xml?rev=377437&r1=377436&r2=377437&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/x-net/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/x-net/build.xml Mon Feb 13 10:03:37
2006
@@ -23,13 +23,13 @@
 
     <property name="build.compiler" value="modern"/>
 
-    <property name="tests.output" value="target" />
+    <property name="tests.output" value="../../woogie" />
     <property name="target.output" value="../../deploy" />
 
     <!-- =================================
           target: run
          ================================= -->
-    <target name="test" depends="test-clean, test-compile, test-run" description="Run
Tests" />
+    <target name="test" depends="test-clean, test-run" description="Run Tests" />
 
     <!-- =================================
           target: test-clean
@@ -86,9 +86,9 @@
     <!-- =================================
           target: test-clean
          ================================= -->
-    <target name="test-run">
+    <target name="test-run" depends="test-compile">
 
-    	<property name="tests.report" value="${tests.output}/report" />
+    	<property name="tests.report" value="${tests.output}" />
         <property environment="env"/>
 
         <mkdir dir="${tests.report}" />
@@ -100,17 +100,18 @@
             showoutput="on"
         	haltonfailure="on"
             dir="${basedir}"
-            jvm="${target.output}/jre/bin/java">
+            jvm="${basedir}/${target.output}/jre/bin/java">
 
-            <env key="JAVA_HOME" value="${target.output}/jre"/>
+            <env key="JAVA_HOME" value="${basedir}/${target.output}/jre"/>
 
 <!--            <jvmarg value="-verbose:dynload" /> -->
             <jvmarg value="-Xbootclasspath/a:${tests.output}${path.separator}${env.CLASSPATH}"/>
+
             <jvmarg value="-Djava.security.properties==${target.output}/jre/lib/security/java.security"/>
             <jvmarg value="-Djava.security.policy==${target.output}/jre/lib/security/drl.policy"/>
             <jvmarg value="-DTEST_SRC_DIR=src/test/java/"/>
 
-            <formatter type="plain" />
+            <formatter type="xml" />
             <batchtest todir="${tests.report}">
                 <fileset dir="src/test/java">
                     <include name="**/*Test.java"/>



Mime
View raw message