harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r377438 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml
Date Mon, 13 Feb 2006 18:04:12 GMT
Author: geirm
Date: Mon Feb 13 10:04:12 2006
New Revision: 377438

URL: http://svn.apache.org/viewcvs?rev=377438&view=rev
Log:
minor tweaks in build.xml to work with the uber test framework

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml?rev=377438&r1=377437&r2=377438&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml Mon Feb 13
10:04:12 2006
@@ -64,9 +64,11 @@
 
 
 	<target name="run.tests">
-		<mkdir dir="tests_report" />
+		
+		<property name="test.dir" value="../../../../target/test_report" />
+		<mkdir dir="${test.dir}" />
 
-		<junit fork="yes"
+        <junit fork="yes"
             forkmode="once"
             printsummary="withOutAndErr"
             errorproperty="test.error"
@@ -76,18 +78,20 @@
 
 			<jvmarg value="-showversion"/>
 
-			<classpath>
+            <env key="JAVA_HOME" value=""/>
+
+            <classpath>
 				<pathelement path="${hy.luni.bin.test}"/>
 			</classpath>
 
 			<test name="org.apache.harmony.tests.luni.AllTests"
 				haltonfailure="no"
-				todir="tests_report"
-				outfile="result">
-				<formatter type="plain" />
+				todir="${test.dir}">
+				<formatter type="xml" />
 			</test>
 		</junit>
-	</target>
+		
+    </target>
 	
 	
 	<target name="copy.resources">



Mime
View raw message