mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.1.0' into cassandra-2.1
This commit is contained in:
commit
277475837f
45
build.xml
45
build.xml
|
|
@ -1098,7 +1098,7 @@
|
|||
</classpath>
|
||||
<batchtest todir="${build.test.dir}/output">
|
||||
<fileset dir="@{inputdir}" includes="@{filter}" excludes="@{exclude}"/>
|
||||
<filelist dir="@{inputdir}" files="@{filelist}"/>
|
||||
<filelist dir="@{inputdir}" files="@{filelist}"/>
|
||||
</batchtest>
|
||||
</junit>
|
||||
<fail message="Some @{suitename} test(s) failed.">
|
||||
|
|
@ -1225,10 +1225,45 @@
|
|||
</target>
|
||||
|
||||
<target name="cql-test" depends="build-test" description="Execute CQL tests">
|
||||
<testmacro suitename="cql" inputdir="${test.unit.src}"
|
||||
timeout="${test.timeout}" filter="**/cql3/*Test.java"
|
||||
forkmode="once">
|
||||
</testmacro>
|
||||
<sequential>
|
||||
<echo message="running CQL tests"/>
|
||||
<mkdir dir="${build.test.dir}/cassandra"/>
|
||||
<mkdir dir="${build.test.dir}/output"/>
|
||||
<junit fork="on" forkmode="once" failureproperty="testfailed" maxmemory="1024m" timeout="${test.timeout}">
|
||||
<formatter type="brief" usefile="false"/>
|
||||
<jvmarg value="-Dstorage-config=${test.conf}"/>
|
||||
<jvmarg value="-Djava.awt.headless=true"/>
|
||||
<jvmarg value="-javaagent:${basedir}/lib/jamm-0.2.6.jar" />
|
||||
<jvmarg value="-ea"/>
|
||||
<jvmarg value="-Xss256k"/>
|
||||
<jvmarg value="-Dcassandra.memtable_row_overhead_computation_step=100"/>
|
||||
<jvmarg value="-Dcassandra.test.use_prepared=${cassandra.test.use_prepared}"/>
|
||||
<classpath>
|
||||
<path refid="cassandra.classpath" />
|
||||
<pathelement location="${test.classes}"/>
|
||||
<path refid="cobertura.classpath"/>
|
||||
<pathelement location="${test.conf}"/>
|
||||
<fileset dir="${test.lib}">
|
||||
<include name="**/*.jar" />
|
||||
</fileset>
|
||||
</classpath>
|
||||
<batchtest todir="${build.test.dir}/output">
|
||||
<fileset dir="${test.unit.src}" includes="**/cql3/*Test.java">
|
||||
<contains text="CQLTester" casesensitive="yes"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
<fail message="Some CQL test(s) failed.">
|
||||
<condition>
|
||||
<and>
|
||||
<isset property="testfailed"/>
|
||||
<not>
|
||||
<isset property="ant.test.failure.ignore"/>
|
||||
</not>
|
||||
</and>
|
||||
</condition>
|
||||
</fail>
|
||||
</sequential>
|
||||
</target>
|
||||
|
||||
<target name="cql-test-some" depends="build-test" description="Execute specific CQL tests" >
|
||||
|
|
|
|||
Loading…
Reference in New Issue