cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r189586 - in /cocoon/trunk: build.properties tools/targets/test-build.xml
Date Wed, 08 Jun 2005 15:01:07 GMT
Author: bdelacretaz
Date: Wed Jun  8 08:01:06 2005
New Revision: 189586

URL: http://svn.apache.org/viewcvs?rev=189586&view=rev
Log:
build.properties can select a subset of JUnit tests to run

Modified:
    cocoon/trunk/build.properties
    cocoon/trunk/tools/targets/test-build.xml

Modified: cocoon/trunk/build.properties
URL: http://svn.apache.org/viewcvs/cocoon/trunk/build.properties?rev=189586&r1=189585&r2=189586&view=diff
==============================================================================
--- cocoon/trunk/build.properties (original)
+++ cocoon/trunk/build.properties Wed Jun  8 08:01:06 2005
@@ -76,6 +76,11 @@
 #junit.testcase=org.apache.cocoon.util.test.NetUtilsTestCase
 junit.test.loglevel=1
 
+# Define which JUnit tests to run - useful to run a subset of tests
+junit.test.include.1=**/*TestCase.class
+junit.test.include.2=**/*Test.class
+
+
 # ---- IDE ---------------------------------------------------------------------
 
 ide.eclipse.outputdir=${build.root}/eclipse/classes

Modified: cocoon/trunk/tools/targets/test-build.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/targets/test-build.xml?rev=189586&r1=189585&r2=189586&view=diff
==============================================================================
--- cocoon/trunk/tools/targets/test-build.xml (original)
+++ cocoon/trunk/tools/targets/test-build.xml Wed Jun  8 08:01:06 2005
@@ -49,8 +49,8 @@
       <formatter type="xml"/>
       <batchtest todir="${build.test.output}">
         <fileset dir="${build.test}">
-          <include name="**/*TestCase.class"/>
-          <include name="**/*Test.class" />
+          <include name="${junit.test.include.1}"/>
+          <include name="${junit.test.include.2}"/>
           <exclude name="**/AllTest.class" />
           <exclude name="**/CocoonBeanTestCase.class" />
           <exclude name="**/*$$*Test.class" />



Mime
View raw message