Author: kkolinko
Date: Sat Feb 14 16:53:39 2015
New Revision: 1659814

URL: http://svn.apache.org/r1659814
Log:
List names of testsuites that have skipped tests

Modified:
    tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1659814&r1=1659813&r2=1659814&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Sat Feb 14 16:53:39 2015
@@ -1346,12 +1346,26 @@
         <contains text="Failures: 0, Errors: 0" />
       </not>
     </fileset>
+    <fileset id="test.result.skippedtests" dir="${test.reports}" 
includes="*.txt">
+      <not>
+        <contains text="Skipped: 0" />
+      </not>
+    </fileset>
     <concat>
-      <header>Failed tests:${line.separator}</header>
+      <header>Testsuites with failed tests:${line.separator}</header>
       <string>${toString:test.result.failedtests}</string>
       <filterchain>
         <tokenfilter>
           <replaceregex pattern=";" replace="${line.separator}"/>
+        </tokenfilter>
+      </filterchain>
+    </concat>
+    <concat>
+      <header>Testsuites with skipped tests:${line.separator}</header>
+      <string>${toString:test.result.skippedtests}</string>
+      <filterchain>
+        <tokenfilter>
+          <replaceregex pattern=";" replace="${line.separator}"/>
         </tokenfilter>
       </filterchain>
     </concat>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to