commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r178721 - in /jakarta/commons/proper/lang/trunk: build.xml default.properties
Date Fri, 27 May 2005 00:42:01 GMT
Author: ggregory
Date: Thu May 26 17:42:00 2005
New Revision: 178721

URL: http://svn.apache.org/viewcvs?rev=178721&view=rev
Log:
Refactor unit test fork attribute in a default.properties property named "test.fork", default
is true, as in the build.xml file.

Modified:
    jakarta/commons/proper/lang/trunk/build.xml
    jakarta/commons/proper/lang/trunk/default.properties

Modified: jakarta/commons/proper/lang/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/build.xml?rev=178721&r1=178720&r2=178721&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/build.xml (original)
+++ jakarta/commons/proper/lang/trunk/build.xml Thu May 26 17:42:00 2005
@@ -163,63 +163,63 @@
     </target>
     <target name="test.lang" depends="compile.tests">
         <echo message="Running lang package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.LangTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.builder" depends="compile.tests">
         <echo message="Running builder package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.builder.BuilderTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.enum" depends="compile.tests">
         <echo message="Running enum package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.enum.EnumTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.exception" depends="compile.tests">
         <echo message="Running exception package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.exception.ExceptionTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.math" depends="compile.tests">
         <echo message="Running math package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.math.MathTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.mutable" depends="compile.tests">
         <echo message="Running mutable package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.mutable.MutableTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.text" depends="compile.tests">
         <echo message="Running text package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.text.TextTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.time" depends="compile.tests">
         <echo message="Running time package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.time.TimeTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>
     </target>
     <target name="test.util" depends="compile.tests">
         <echo message="Running util package tests ..."/>
-        <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+        <java classname="${test.runner}" fork="${test.fork}" failonerror="${test.failonerror}">
             <arg value="org.apache.commons.lang.util.UtilTestSuite"/>
             <classpath refid="test.classpath"/>
         </java>

Modified: jakarta/commons/proper/lang/trunk/default.properties
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/default.properties?rev=178721&r1=178720&r2=178721&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/default.properties (original)
+++ jakarta/commons/proper/lang/trunk/default.properties Thu May 26 17:42:00 2005
@@ -52,6 +52,9 @@
 # The base directory for unit test sources
 test.home = src/test
 
+# Whether or not to fork tests
+test.fork = true
+
 # Should Java compilations set the 'debug' compiler option?
 compile.debug = true
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message