Adding a new failsafe-test target to the cent.
Making the site target use that, so that failing tests don't stop the site build but can be showed on the test results pages. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352485 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c5c6fa0c9
commit
889173d425
22
build.xml
22
build.xml
@ -177,7 +177,7 @@
|
|||||||
<!-- dist target wo single build checks -->
|
<!-- dist target wo single build checks -->
|
||||||
<!-- ====================================== -->
|
<!-- ====================================== -->
|
||||||
|
|
||||||
<target name="dist" depends="-init, clean, jar, site, test"
|
<target name="dist" depends="-init, clean, jar, test, site"
|
||||||
description="Build distribution packages wo single build checks">
|
description="Build distribution packages wo single build checks">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
@ -214,13 +214,27 @@
|
|||||||
<param name="cent-target" value="test"/>
|
<param name="cent-target" value="test"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- ================================== -->
|
||||||
|
<!-- Run Junit tests -->
|
||||||
|
<!-- ================================== -->
|
||||||
|
|
||||||
|
<target name="test-report" depends="-init, compile"
|
||||||
|
description="Compile java source code">
|
||||||
|
|
||||||
|
<antcall target="call-cent">
|
||||||
|
<param name="cent-name" value="junit"/>
|
||||||
|
<param name="cent-target" value="failsafe-test"/>
|
||||||
|
</antcall>
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="junit"/>
|
<param name="cent-name" value="junit"/>
|
||||||
<param name="cent-target" value="report"/>
|
<param name="cent-target" value="report"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
<!-- Generate project metrics -->
|
<!-- Generate project metrics -->
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
@ -262,7 +276,7 @@
|
|||||||
<target name="site"
|
<target name="site"
|
||||||
description="Makes all the site doco"
|
description="Makes all the site doco"
|
||||||
depends="docs,
|
depends="docs,
|
||||||
test,
|
test-report,
|
||||||
javadocs,
|
javadocs,
|
||||||
metrics"/>
|
metrics"/>
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user