mirror of https://github.com/apache/poi.git
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
1295e3f894
commit
dcc5e3518a
22
build.xml
22
build.xml
|
@ -177,7 +177,7 @@
|
|||
<!-- 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">
|
||||
|
||||
<antcall target="call-cent">
|
||||
|
@ -214,13 +214,27 @@
|
|||
<param name="cent-target" value="test"/>
|
||||
</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">
|
||||
<param name="cent-name" value="junit"/>
|
||||
<param name="cent-target" value="report"/>
|
||||
</antcall>
|
||||
|
||||
</target>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- ================================== -->
|
||||
<!-- Generate project metrics -->
|
||||
<!-- ================================== -->
|
||||
|
@ -262,7 +276,7 @@
|
|||
<target name="site"
|
||||
description="Makes all the site doco"
|
||||
depends="docs,
|
||||
test,
|
||||
test-report,
|
||||
javadocs,
|
||||
metrics"/>
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue