Author: bdube Date: Sat May 7 16:55:02 2011 New Revision: 1100568 URL: http://svn.apache.org/viewvc?rev=1100568&view=rev Log: Improve test harness
Modified: forrest/trunk/whiteboard/forrest-osgi/master.xml Modified: forrest/trunk/whiteboard/forrest-osgi/master.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest-osgi/master.xml?rev=1100568&r1=1100567&r2=1100568&view=diff ============================================================================== --- forrest/trunk/whiteboard/forrest-osgi/master.xml (original) +++ forrest/trunk/whiteboard/forrest-osgi/master.xml Sat May 7 16:55:02 2011 @@ -81,21 +81,25 @@ <pathelement location="${forrest.lib.dir}/junit-4.8.1.jar" /> <pathelement location="${build.classes}" /> <pathelement location="${java.test.src.dir}" /> + <fileset dir="${forrest.lib.dir}/bundle" includes="*.jar" /> </classpath> </javac> </target> <target name="test" depends="compile,compile-tests"> - <junit printsummary="true" - failureproperty="junit.failure"> + <junit printsummary="withOutAndErr" + failureproperty="junit.failure" + includeantruntime="false"> <classpath> <pathelement location="${forrest.lib.dir}/junit-4.8.1.jar" /> <pathelement location="${build.classes}" /> <pathelement location="${build.test.classes}" /> + <fileset dir="${forrest.lib.dir}/bundle" includes="*.jar" /> </classpath> <batchtest> <fileset dir="${build.test.classes}" /> </batchtest> + <formatter type="plain" usefile="false" /> </junit> <fail if="junit.failure" message="There are unit test failures. Please check the output above." /> </target>