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:
Nicola Ken Barozzi 2002-04-25 23:43:01 +00:00
parent 1295e3f894
commit dcc5e3518a
2 changed files with 18 additions and 4 deletions

View File

@ -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,6 +214,20 @@
<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"/>
@ -262,7 +276,7 @@
<target name="site"
description="Makes all the site doco"
depends="docs,
test,
test-report,
javadocs,
metrics"/>

Binary file not shown.