Fixed ant junit test exec
This commit is contained in:
parent
3ad75dc4d0
commit
172da7f4cb
1 changed files with 4 additions and 4 deletions
|
|
@ -23,14 +23,13 @@
|
||||||
|
|
||||||
<!--classpath included when building-->
|
<!--classpath included when building-->
|
||||||
<path id="classpath.build">
|
<path id="classpath.build">
|
||||||
<fileset dir="${libDir}">
|
<pathelement location="${libDir}/*" />
|
||||||
<include name="**/*.jar"/>
|
|
||||||
</fileset>
|
|
||||||
<pathelement location="${buildDir}" />
|
<pathelement location="${buildDir}" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path id="classpath.test">
|
<path id="classpath.test">
|
||||||
<pathelement location="${buildTestDir}" />
|
<pathelement location="${buildTestDir}" />
|
||||||
|
<!--include libraries used for building-->
|
||||||
<path refid="classpath.build"/>
|
<path refid="classpath.build"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
@ -38,8 +37,9 @@
|
||||||
|
|
||||||
<target name="test" depends="build-test">
|
<target name="test" depends="build-test">
|
||||||
<mkdir dir="${reportsDir}" />
|
<mkdir dir="${reportsDir}" />
|
||||||
<junit printsummary="yes" haltonfailure="false">
|
<junit printsummary="yes" haltonfailure="false" fork="true">
|
||||||
<classpath refid="classpath.test" />
|
<classpath refid="classpath.test" />
|
||||||
|
<formatter type="plain" usefile="false" /> <!-- to screen -->
|
||||||
<formatter type="xml" /> <!-- to file -->
|
<formatter type="xml" /> <!-- to file -->
|
||||||
|
|
||||||
<batchtest todir="${reportsDir}">
|
<batchtest todir="${reportsDir}">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue