mirror of https://github.com/apache/cassandra
fix junit-related build issues. patch by johano; reviewed by jbellis for CASSANDRA-164
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774016 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2fd856de35
commit
6fc61d0cd5
|
|
@ -189,7 +189,9 @@
|
|||
<target name="test" depends="build-test">
|
||||
<echo message="running tests"/>
|
||||
<mkdir dir="${build.test.dir}/cassandra"/>
|
||||
<junit fork="on">
|
||||
<mkdir dir="${build.test.dir}/output"/>
|
||||
<junit fork="on" failureproperty="testfailed">
|
||||
<formatter type="xml" usefile="true"/>
|
||||
<formatter type="brief" usefile="false"/>
|
||||
<jvmarg value="-Dstorage-config=${test.conf}"/>
|
||||
<jvmarg value="-ea"/>
|
||||
|
|
@ -200,10 +202,12 @@
|
|||
<pathelement location="${cobertura.dir}/cobertura.jar"/>
|
||||
<pathelement location="${test.conf}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${build.dir}/test/output">
|
||||
<batchtest todir="${build.test.dir}/output">
|
||||
<fileset dir="${test.classes}" includes="**/${test.name}.class" />
|
||||
</batchtest>
|
||||
</junit>
|
||||
|
||||
<fail if="testfailed" message="Some test(s) failed."/>
|
||||
</target>
|
||||
|
||||
<!-- instruments the classes to later create code coverage reports -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue