You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2014/02/07 20:21:51 UTC
[3/6] git commit: add target to run specific test methods
add target to run specific test methods
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c70f6d80
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c70f6d80
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c70f6d80
Branch: refs/heads/trunk
Commit: c70f6d80bd26904e0ff34136bf598d701f1ed69d
Parents: 2dd55c7
Author: Brandon Williams <br...@apache.org>
Authored: Fri Feb 7 13:19:26 2014 -0600
Committer: Brandon Williams <br...@apache.org>
Committed: Fri Feb 7 13:19:26 2014 -0600
----------------------------------------------------------------------
build.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/c70f6d80/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index ce87a2a..eaf35b5 100644
--- a/build.xml
+++ b/build.xml
@@ -56,6 +56,7 @@
<property name="test.conf" value="${test.dir}/conf"/>
<property name="test.data" value="${test.dir}/data"/>
<property name="test.name" value="*Test"/>
+ <property name="test.methods" value=""/>
<property name="test.unit.src" value="${test.dir}/unit"/>
<property name="test.long.src" value="${test.dir}/long"/>
<property name="dist.dir" value="${build.dir}/dist"/>
@@ -1118,6 +1119,17 @@
<jvmarg value="-Dcassandra.tolerate_sstable_size=true"/>
</testmacro>
</target>
+
+ <target name="testsome" depends="build-test" description="Execute specific unit tests" >
+ <testmacro suitename="unit" inputdir="${test.unit.src}" exclude="**/pig/*.java" timeout="${test.timeout}">
+ <test name="${test.name}" methods="${test.methods}"/>
+ <jvmarg value="-Dlegacy-sstable-root=${test.data}/legacy-sstables"/>
+ <jvmarg value="-Dcorrupt-sstable-root=${test.data}/corrupt-sstables"/>
+ <jvmarg value="-Dmigration-sstable-root=${test.data}/migration-sstables"/>
+ <jvmarg value="-Dcassandra.ring_delay_ms=1000"/>
+ <jvmarg value="-Dcassandra.tolerate_sstable_size=true"/>
+ </testmacro>
+ </target>
<target name="test-compression" depends="build-test" description="Execute unit tests with sstable compression enabled">
<testmacro suitename="unit" inputdir="${test.unit.src}" exclude="**/pig/*.java" timeout="${test.timeout}">