bodewig 2002/09/26 05:34:27
Modified: . WHATSNEW build.xml
Log:
conditionally exclude JUnitReportTest
Revision Changes Path
1.290 +3 -0 jakarta-ant/WHATSNEW
Index: WHATSNEW
===================================================================
RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
retrieving revision 1.289
retrieving revision 1.290
diff -u -r1.289 -r1.290
--- WHATSNEW 25 Sep 2002 15:12:55 -0000 1.289
+++ WHATSNEW 26 Sep 2002 12:34:27 -0000 1.290
@@ -34,6 +34,9 @@
* <tstamp>'s prefix attribute failed to apply to nested <format> elements.
+* <junitreport> created an empty junit-noframes.html if no format had
+ been specified.
+
Other changes:
--------------
1.321 +12 -0 jakarta-ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/build.xml,v
retrieving revision 1.320
retrieving revision 1.321
diff -u -r1.320 -r1.321
--- build.xml 9 Sep 2002 16:52:24 -0000 1.320
+++ build.xml 26 Sep 2002 12:34:27 -0000 1.321
@@ -1245,6 +1245,16 @@
<target name="run-tests" depends="dump-info,compile-tests,probe-offline"
if="junit.present">
+ <condition property="run.junitreport">
+ <or>
+ <isset property="xalan2.present"/>
+ <and>
+ <isset property="xalan.present"/>
+ <isset property="bsf.present"/>
+ </and>
+ </or>
+ </condition>
+
<junit printsummary="${junit.summary}" haltonfailure="yes"
filtertrace="${junit.filtertrace}"
fork="${junit.fork}">
@@ -1325,6 +1335,8 @@
unless="trax.impl.present"/>
<exclude name="${ant.package}/types/XMLCatalogBuildFileTest.java"
unless="trax.impl.present"/>
+ <exclude name="${optional.package}/junit/JUnitReportTest.java"
+ unless="run.junitreport"/>
<!-- needs BSF to work -->
<exclude name="${optional.package}/XalanLiaisonTest.java"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>