Author: kkolinko Date: Sat Feb 14 18:25:03 2015 New Revision: 1659833 URL: http://svn.apache.org/r1659833 Log: Listing names of testsuites that have failed or skipped tests: Reorder, to make sure that tail output (in Gump) does not miss the failed test names.
Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1659833&r1=1659832&r2=1659833&view=diff ============================================================================== --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Sat Feb 14 18:25:03 2015 @@ -1341,19 +1341,19 @@ <target name="test" description="Runs the JUnit test cases" depends="test-nio,test-nio2,test-apr,cobertura-report" > - <fileset id="test.result.failedtests" dir="${test.reports}" includes="*.txt"> + <fileset id="test.result.skippedtests" dir="${test.reports}" includes="*.txt"> <not> - <contains text="Failures: 0, Errors: 0" /> + <contains text="Skipped: 0" /> </not> </fileset> - <fileset id="test.result.skippedtests" dir="${test.reports}" includes="*.txt"> + <fileset id="test.result.failedtests" dir="${test.reports}" includes="*.txt"> <not> - <contains text="Skipped: 0" /> + <contains text="Failures: 0, Errors: 0" /> </not> </fileset> <concat> - <header>Testsuites with failed tests:${line.separator}</header> - <string>${toString:test.result.failedtests}</string> + <header>Testsuites with skipped tests:${line.separator}</header> + <string>${toString:test.result.skippedtests}</string> <filterchain> <tokenfilter> <replaceregex pattern=";" replace="${line.separator}"/> @@ -1361,8 +1361,8 @@ </filterchain> </concat> <concat> - <header>Testsuites with skipped tests:${line.separator}</header> - <string>${toString:test.result.skippedtests}</string> + <header>Testsuites with failed tests:${line.separator}</header> + <string>${toString:test.result.failedtests}</string> <filterchain> <tokenfilter> <replaceregex pattern=";" replace="${line.separator}"/> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org