harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r963485 - /harmony/enhanced/java/trunk/classlib/modules/archive/make/run-test.xml
Date Mon, 12 Jul 2010 20:56:34 GMT
Author: hindessm
Date: Mon Jul 12 20:56:33 2010
New Revision: 963485

URL: http://svn.apache.org/viewvc?rev=963485&view=rev
Log:
The test in archive_internal_tests.jar is really an implementation specific
test (since this api is not exported) so lets only run it if
hy.test.impl=true.

Modified:
    harmony/enhanced/java/trunk/classlib/modules/archive/make/run-test.xml

Modified: harmony/enhanced/java/trunk/classlib/modules/archive/make/run-test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/archive/make/run-test.xml?rev=963485&r1=963484&r2=963485&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/archive/make/run-test.xml (original)
+++ harmony/enhanced/java/trunk/classlib/modules/archive/make/run-test.xml Mon Jul 12 20:56:33
2010
@@ -31,14 +31,15 @@
 
     <target name="test" depends="test-module" />
 
-    <target name="test-module" depends="test-jre-vm-info">
+    <target name="test-module"
+            depends="test-jre-vm-info,-test-module,-test-module-impl" />
+    <target name="-test-module">
         <convert-test-as-class from="test.case" to="converted.tc.class" />
-        <run-hdk-tests module="archive" jar="archive_internal_tests.jar">
-            <junit-elements>
-                <jvmarg value="-Xbootclasspath/a:archive_internal_tests.jar${path.separator}../junit.jar"
/>
-            </junit-elements>
-        </run-hdk-tests>
         <run-hdk-tests module="archive" jar="archive_tests.jar" />
     </target>
+
+    <target name="-test-module-impl" if="hy.run.impl.tests">
+        <run-hdk-tests module="archive" jar="archive_internal_tests.jar" />
+    </target>
     
 </project>



Mime
View raw message