Revision: 5401 http://jnode.svn.sourceforge.net/jnode/?rev=5401&view=rev Author: crawley Date: 2009-05-04 03:57:43 +0000 (Mon, 04 May 2009)
Log Message: ----------- Added build-tests target for running shell JUnit tests. Modified Paths: -------------- trunk/shell/build-tests.xml Modified: trunk/shell/build-tests.xml =================================================================== --- trunk/shell/build-tests.xml 2009-05-04 03:56:42 UTC (rev 5400) +++ trunk/shell/build-tests.xml 2009-05-04 03:57:43 UTC (rev 5401) @@ -25,7 +25,8 @@ <arg value="${basedir}/src/test/org/jnode/test/shell/bjorne/bjorne-builtin-tests.xml"/> </java> </target> - <target name="all"> + + <target name="all-blackbox"> <java classpathref="cp-test" classname="org.jnode.test.shell.harness.TestHarness"> <arg value="-E" /> <arg value="-s" /> @@ -34,7 +35,24 @@ </java> </target> + <target name="all-junit"> + <junit showoutput="on" printsummary="on" fork="on"> + <classpath refid="cp-test"/> + <batchtest fork="yes"> + <fileset dir="${basedir}/src/test"> + <include name="**/*Test.java" /> + <!-- + Some of the unit tests may need to be excluded if they cannot be + made to run in classic Java from the sandbox command line. + --> + </fileset> + </batchtest> + </junit> + </target> + <target name="all" depends="all-junit,all-blackbox" /> + + </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Jnode-svn-commits mailing list Jnode-svn-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits