cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r773556 - /incubator/cassandra/trunk/build.xml
Date Mon, 11 May 2009 13:36:21 GMT
Author: jbellis
Date: Mon May 11 13:36:21 2009
New Revision: 773556

URL: http://svn.apache.org/viewvc?rev=773556&view=rev
Log:
allow specifying "ant test -Dtest.name=ColumnFamilyStoreTest" etc.  patch by Michael Greene;
reviewed by jbellis for CASSANDRA-158

Modified:
    incubator/cassandra/trunk/build.xml

Modified: incubator/cassandra/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/build.xml?rev=773556&r1=773555&r2=773556&view=diff
==============================================================================
--- incubator/cassandra/trunk/build.xml (original)
+++ incubator/cassandra/trunk/build.xml Mon May 11 13:36:21 2009
@@ -16,6 +16,7 @@
     <property name="test.dir" value="${basedir}/test"/>
     <property name="test.classes" value="${build.dir}/test/classes"/>
     <property name="test.conf" value="${test.dir}/conf"/>
+    <property name="test.name" value="*"/>
     <property name="test.unit.src" value="${test.dir}/unit"/>
     <property name="dist.dir" value="${build.dir}/dist"/>
     <property name="version" value="0.3.0-dev"/>
@@ -203,7 +204,7 @@
         <pathelement location="${cobertura.dir}/cobertura.jar"/>
         <pathelement location="${test.conf}"/>
       </classpath>
-      <classfileset dir="${test.classes}" includes="**/*.class" />
+      <classfileset dir="${test.classes}" includes="**/${test.name}.class" />
     </testng>
   </target>
 	



Mime
View raw message