You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2007/12/20 13:11:51 UTC
svn commit: r605908 -
/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Author: smishura
Date: Thu Dec 20 04:11:50 2007
New Revision: 605908
URL: http://svn.apache.org/viewvc?rev=605908&view=rev
Log:
Change publisher for stress suite:
Instead of full JUnit report execution log is provided (+ JUnit report for failed tests)
Modified:
harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml?rev=605908&r1=605907&r2=605908&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml Thu Dec 20 04:11:50 2007
@@ -407,13 +407,28 @@
</target>
<target name="publish-stress">
- <delete dir="${snapshot.results.dir}/stress" />
- <mkdir dir="${snapshot.results.dir}/stress" />
+
+ <mkdir dir="${snapshot.results.dir}/stress/junit" />
+
+ <copy-execution-log />
+ <touch-status-file />
+
+ <!-- generate junit report only for failed tests -->
<junitreport todir="${snapshot.results.dir}/stress">
- <fileset dir="${results.dir}/stress" includes="TEST*-*.xml" />
- <report format="frames" todir="${snapshot.results.dir}/stress" />
+ <fileset dir="${results.dir}/stress" includes="TEST*-*.xml">
+ <containsregexp expression='(errors|failures)=.[1-9]' />
+ <exclude name="TESTS-TestSuites.xml" />
+ </fileset>
+ <report format="frames"
+ todir="${snapshot.results.dir}/stress/junit" />
</junitreport>
- <archive-result/>
+
+ <!-- insert link to junit report -->
+ <replaceregexp file="${snapshot.results.dir}/stress/index.html"
+ match="run:"
+ replace="<a href="junit/index.html">JUnit report for failures<a>

run:" />
+
+ <archive-result />
</target>
<!-- Struts testing scenario -->
@@ -450,11 +465,12 @@
<target name="publish-vtsvm">
+ <mkdir dir="${snapshot.results.dir}/vtsvm/junit" />
+
<copy-execution-log />
<touch-status-file />
<!-- generate junit report only for failed tests -->
- <mkdir dir="${snapshot.results.dir}/vtsvm/junit" />
<junitreport todir="${snapshot.results.dir}/vtsvm">
<fileset dir="${results.dir}/vtsvm" includes="TEST*-*.xml">
<containsregexp expression='(errors|failures)=.[1-9]' />