Author: bdaw
Date: 2007-10-22 09:46:11 -0400 (Mon, 22 Oct 2007)
New Revision: 8736
Modified:
modules/identity/trunk/identity/build.xml
modules/identity/trunk/testsuite/build.xml
Log:
- use jboss unit html reporting in testsuite
Modified: modules/identity/trunk/identity/build.xml
===================================================================
--- modules/identity/trunk/identity/build.xml 2007-10-22 13:31:27 UTC (rev 8735)
+++ modules/identity/trunk/identity/build.xml 2007-10-22 13:46:11 UTC (rev 8736)
@@ -348,7 +348,8 @@
</tests>
<reports>
- <xml toDir="output/tests"/>
+ <xml toDir="output/tests/xml"/>
+ <html toDir="output/tests/html"/>
</reports>
<classpath>
@@ -356,13 +357,5 @@
</classpath>
</jboss-unit >
- <!--<junitreport todir="output/tests">-->
- <!--<fileset dir="output/tests">-->
- <!--<include name="TEST-*.xml"/>-->
- <!--</fileset>-->
- <!--<report format="frames"-->
- <!--todir="output/tests"/>-->
- <!--</junitreport>-->
</target>
-
</project>
Modified: modules/identity/trunk/testsuite/build.xml
===================================================================
--- modules/identity/trunk/testsuite/build.xml 2007-10-22 13:31:27 UTC (rev 8735)
+++ modules/identity/trunk/testsuite/build.xml 2007-10-22 13:46:11 UTC (rev 8736)
@@ -80,11 +80,16 @@
<!-- copy all reports to testsuite/output/reports -->
<target name="copy-reports">
- <copy todir="${reports.dir}">
- <fileset dir="../${module}/output/tests">
- <include name="TEST-*.xml"/>
+ <copy todir="${reports.dir}/xml">
+ <fileset dir="../${module}/output/tests/xml">
+ <include name="*"/>
</fileset>
</copy>
+ <copy todir="${reports.dir}/html">
+ <fileset dir="../${module}/output/tests/html">
+ <include name="*"/>
+ </fileset>
+ </copy>
</target>
<target name="run-tests">
@@ -124,18 +129,18 @@
<!--<antcall target="agent-undeploy"/>-->
</sequential>
<server:stop name="default"/>
- <antcall target="reports"/>
+ <!--<antcall target="reports"/>-->
</target>
- <target name="reports">
- <junitreport todir="${reports.dir}">
- <fileset dir="${reports.dir}">
- <include name="TEST-*.xml"/>
- </fileset>
- <report format="frames"
- todir="${reports.dir}"/>
- </junitreport>
- </target>
+ <!--<target name="reports">-->
+ <!--<junitreport todir="${reports.dir}">-->
+ <!--<fileset dir="${reports.dir}">-->
+ <!--<include name="TEST-*.xml"/>-->
+ <!--</fileset>-->
+ <!--<report format="frames"-->
+ <!--todir="${reports.dir}"/>-->
+ <!--</junitreport>-->
+ <!--</target>-->
<target name="clean">
<!-- remove generated test xml files -->
Show replies by date