Author: kkolinko Date: Sat Feb 14 22:08:37 2015 New Revision: 1659862 URL: http://svn.apache.org/r1659862 Log: Listing names of testsuites that have failed or skipped tests: Fix slitting a ';'-separated string of test names.
The issue was that when there are more than 2 test names in the string, only the first ';' was replaced with line separator. The goal is to print each est name on a separate line. Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1659862&r1=1659861&r2=1659862&view=diff ============================================================================== --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Sat Feb 14 22:08:37 2015 @@ -1355,8 +1355,8 @@ <header>Testsuites with skipped tests:${line.separator}</header> <string>${toString:test.result.skippedtests}</string> <filterchain> - <tokenfilter> - <replaceregex pattern=";" replace="${line.separator}"/> + <tokenfilter delimOutput="${line.separator}"> + <stringtokenizer delims=";"/> </tokenfilter> </filterchain> </concat> @@ -1364,8 +1364,8 @@ <header>Testsuites with failed tests:${line.separator}</header> <string>${toString:test.result.failedtests}</string> <filterchain> - <tokenfilter> - <replaceregex pattern=";" replace="${line.separator}"/> + <tokenfilter delimOutput="${line.separator}"> + <stringtokenizer delims=";"/> </tokenfilter> </filterchain> </concat> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org