Author: markt Date: Sat Feb 6 20:19:27 2010 New Revision: 907291 URL: http://svn.apache.org/viewvc?rev=907291&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48658 Save test output in files; allow single test to be run Patch provided by sebb
Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=907291&r1=907290&r2=907291&view=diff ============================================================================== --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Sat Feb 6 20:19:27 2010 @@ -847,9 +847,11 @@ <junit printsummary="yes" fork="yes" dir="." showoutput="yes"> <classpath refid="tomcat.test.classpath" /> - <formatter type="plain" usefile="false" /> + <formatter type="plain" usefile="true" /> - <batchtest haltonerror="true" haltonfailure="true"> + <!-- If test.entry is defined, run a single test, otherwise run all valid tests --> + <test todir="${tomcat.build}/logs" name="${test.entry}" if="test.entry"/> + <batchtest todir="${tomcat.build}/logs" haltonerror="true" haltonfailure="true" unless="test.entry"> <fileset dir="test" > <!-- Include all by default --> <include name="**/Test*.java" /> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org