You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gh...@apache.org on 2006/04/27 12:19:59 UTC

svn commit: r397509 - /incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml

Author: gharley
Date: Thu Apr 27 03:19:56 2006
New Revision: 397509

URL: http://svn.apache.org/viewcvs?rev=397509&view=rev
Log:
HARMONY-416 : Run remaining two jndi tests

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml?rev=397509&r1=397508&r2=397509&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml Thu Apr 27 03:19:56 2006
@@ -74,7 +74,7 @@
         <property name="test.jre.home" value="${hy.target}/jre" />
 
         <junit fork="yes"
-            forkmode="once"
+        	forkmode="perBatch"
             printsummary="withOutAndErr"
             errorproperty="test.errors"
             failureproperty="test.failures"
@@ -94,23 +94,44 @@
             <formatter type="xml" />
 
             <test name="${test.case}" todir="${hy.tests.reports}" if="test.case" />
+        	
             <batchtest todir="${hy.tests.reports}" haltonfailure="no"
                 unless="test.case">
 
                 <fileset dir="${hy.jndi.src.test.java}">
                     <include name="**/*Test.java"/>
                 	
-                	<!-- Requires further investigation -->
-                	<exclude name="org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java" />
-                	
-                    <!--
-                    To make the following two test cases pass, 
-                    set forkmode="perTest"
-                    -->
+                	<!--  These tests run in a separate jvm below -->
                 	<exclude name="org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerBuilderTest.java" />
                     <exclude name="org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerTest.java" />
+                	<exclude name="org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java" />
                 </fileset>
             </batchtest>
+        	
+        	<batchtest todir="${hy.tests.reports}" haltonfailure="no"
+        	    unless="test.case">
+        	
+        	    <fileset dir="${hy.jndi.src.test.java}">
+        	        <include name="org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerTest.java" />
+        	    </fileset>
+        	</batchtest>
+        	
+        	<batchtest todir="${hy.tests.reports}" haltonfailure="no"
+        	   unless="test.case">
+        	
+        	    <fileset dir="${hy.jndi.src.test.java}">
+        	        <include name="org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerBuilderTest.java" />
+        	    </fileset>
+            </batchtest>        	
+        	
+        	<batchtest todir="${hy.tests.reports}" haltonfailure="no"
+        	   unless="test.case">
+        	
+        	    <fileset dir="${hy.jndi.src.test.java}">
+        	        <include name="org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java" />
+        	    </fileset>
+            </batchtest>        	
+        	
         </junit>
         <antcall target="touch-failures-file" />
         <antcall target="touch-errors-file" />