incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r510876 - in /incubator/ivy/core/trunk: build.properties build.xml
Date Fri, 23 Feb 2007 08:54:15 GMT
Author: xavier
Date: Fri Feb 23 00:54:15 2007
New Revision: 510876

URL: http://svn.apache.org/viewvc?view=rev&rev=510876
Log:
test classes name patterns is now configured in a property, and thus overridable when calling
ant (thanks to John Williams)

Modified:
    incubator/ivy/core/trunk/build.properties
    incubator/ivy/core/trunk/build.xml

Modified: incubator/ivy/core/trunk/build.properties
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/build.properties?view=diff&rev=510876&r1=510875&r2=510876
==============================================================================
--- incubator/ivy/core/trunk/build.properties (original)
+++ incubator/ivy/core/trunk/build.properties Fri Feb 23 00:54:15 2007
@@ -17,3 +17,5 @@
 ivy.minimum.javaversion=1.4
 debug.mode=on
 ivy.install.version=1.4.1
+
+test.class.pattern = *Test

Modified: incubator/ivy/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/build.xml?view=diff&rev=510876&r1=510875&r2=510876
==============================================================================
--- incubator/ivy/core/trunk/build.xml (original)
+++ incubator/ivy/core/trunk/build.xml Fri Feb 23 00:54:15 2007
@@ -169,7 +169,7 @@
 
 	<target name="init-tests-offline" if="offline">
  		    <fileset id="test.fileset" dir="${test.dir}">
- 		    	<include name="**/*Test.java"/>
+ 		    	<include name="**/${test.class.pattern}.java"/>
  		    	<exclude name="**/Abstract*Test.java"/>
  		    	<contains text="junit"/>
  		    	<not><contains text="remote.test"/></not>
@@ -178,7 +178,7 @@
 		
 	<target name="init-tests-online" unless="offline">
  		    <fileset id="test.fileset" dir="${test.dir}">
- 		    	<include name="**/*Test.java"/>
+ 		    	<include name="**/${test.class.pattern}.java"/>
  		    	<exclude name="**/Abstract*Test.java"/>
  		    	<contains text="junit"/>
  		    </fileset>



Mime
View raw message