You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2004/02/14 03:44:55 UTC
cvs commit: xml-security build.xml
blautenb 2004/02/13 18:44:55
Modified: . build.xml
Log:
Failed tests will now result in failed build of ant test
Revision Changes Path
1.67 +4 -1 xml-security/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-security/build.xml,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- build.xml 8 Feb 2004 06:12:21 -0000 1.66
+++ build.xml 14 Feb 2004 02:44:55 -0000 1.67
@@ -443,11 +443,13 @@
IBM is 'magically' included in the test ;-))
-->
<available file="data/com/ibm/xss4j-20011029/enveloped-rsa.sig" property="ibm.available"/>
- <junit filtertrace="true" fork="true" printsummary="on">
+ <junit filtertrace="true" fork="true" printsummary="on" failureproperty="build.test.failed">
<jvmarg value="-Djava.compiler=NONE"/>
<sysproperty key="basedir" value="${basedir}"/>
<classpath refid="classpath.test"/>
<formatter type="xml"/>
+ <!-- Also put output to screen -->
+ <formatter type="plain" usefile="false"/>
<batchtest fork="yes" todir="${build.junit.xml}">
<fileset dir="${dir.src.unitTests}">
<include name="**/*Test*.java"/>
@@ -466,6 +468,7 @@
</fileset>
<report format="frames" todir="${build.junit.html}"/>
</junitreport>
+ <fail if="build.test.failed" message="Unit Tests Failed"/>
</target>
<target depends="compile.tests" description="Runs exclusive c14n interop (Y1, Y2, Y3, Y4)" if="junit.present" name="test_exc_c14n">