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
18
build.xml
18
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,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.
Loading…
Reference in New Issue
Block a user