[jboss-svn-commits] JBL Code SVN: r5639 - labs/jbossrules/trunk
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Aug 9 11:04:15 EDT 2006
Author: michael.neale at jboss.com
Date: 2006-08-09 11:04:12 -0400 (Wed, 09 Aug 2006)
New Revision: 5639
Modified:
labs/jbossrules/trunk/build.xml
Log:
added in HTML report, change failure behaviour
Modified: labs/jbossrules/trunk/build.xml
===================================================================
--- labs/jbossrules/trunk/build.xml 2006-08-09 14:53:04 UTC (rev 5638)
+++ labs/jbossrules/trunk/build.xml 2006-08-09 15:04:12 UTC (rev 5639)
@@ -244,7 +244,7 @@
</classpath>
</javac>
- <junit printsummary="yes" fork="yes" forkmode="once" haltonfailure="on">
+ <junit printsummary="yes" fork="yes" forkmode="once" failureproperty="test.failed">
<sysproperty key="jsr94.tck.configuration" value="${module}/target/test-classes/org/drools/jsr94/tck"/>
<classpath>
<path refid="${module}.dependency.classpath"/>
@@ -255,7 +255,7 @@
</fileset>
</classpath>
- <formatter type="plain"/>
+ <formatter type="xml"/>
<batchtest todir="${module}/target/test-reports">
<fileset dir="${module}/target/test-classes">
@@ -270,12 +270,13 @@
</batchtest>
</junit>
- <!--junitreport todir="${module}/target/reports">
+ <junitreport todir="${module}/target/reports">
<fileset dir="${module}/target/test-reports">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${module}/target/reports"/>
- </junitreport-->
+ </junitreport>
+ <fail message="Tests failed: check test reports." if="test.failed" />
</target>
<!--
More information about the jboss-svn-commits
mailing list