You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2009/05/11 15:36:21 UTC

svn commit: r773556 - /incubator/cassandra/trunk/build.xml

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>