Merge pull request #79 from broadinstitute/dr_parallel_tests_prototype
fingers crossed!
This commit is contained in:
commit
e5fa1672c1
26
build.xml
26
build.xml
|
|
@ -1442,4 +1442,30 @@
|
|||
|
||||
<run-test testtype="${single}" outputdir="${report}/${single}" runfailed="false"/>
|
||||
</target>
|
||||
|
||||
<!-- A target that runs a test without doing ANY compilation or any extra work at all -->
|
||||
<!-- Intended to enable parallel tests that share the same working directory and build -->
|
||||
<target name="runtestonly">
|
||||
<condition property="not.clean">
|
||||
<and>
|
||||
<available file="${build.dir}" />
|
||||
<available file="${lib.dir}" />
|
||||
<available file="${dist.dir}" />
|
||||
<available file="${java.test.classes}" />
|
||||
</and>
|
||||
</condition>
|
||||
<fail message="runtestonly target requires a NON-CLEAN working directory (INCLUDING test classes). Do a full test build using ant test.compile first." unless="not.clean" />
|
||||
|
||||
<condition property="no.single.test.specified">
|
||||
<equals arg1="${single}" arg2="$${single}" />
|
||||
</condition>
|
||||
<fail message="Must specify a specific test. Usage: ant runtestonly -Dsingle=TestClass" if="no.single.test.specified" />
|
||||
|
||||
<property name="testng.classpath" value="testng.default.classpath" />
|
||||
<property name="test.maxmemory" value="${test.default.maxmemory}"/>
|
||||
<property name="include.contracts" value="true" />
|
||||
|
||||
<run-test testtype="${single}" outputdir="${report}/${single}" runfailed="false"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue