jhm 2004/02/18 00:11:36 Modified: . build.xml Log: Let 'testcase'-property choose the right target for running tests. Revision Changes Path 1.409 +4 -4 ant/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/ant/build.xml,v retrieving revision 1.408 retrieving revision 1.409 diff -u -r1.408 -r1.409 --- build.xml 5 Feb 2004 20:44:02 -0000 1.408 +++ build.xml 18 Feb 2004 08:11:36 -0000 1.409 @@ -1355,7 +1355,7 @@ <selector refid="conditional-patterns"/> </javac> - + <!-- Used by AntlibTest.testAntlibResource: --> <jar jarfile="${build.tests}/org/apache/tools/ant/taskdefs/test2-antlib.jar"> <zipfileset dir="${tests.etc.dir}" fullpath="taskdefs/test.antlib.xml"> @@ -1409,9 +1409,9 @@ Run testcase =================================================================== --> - <target name="test" depends="run-tests" description="--> run JUnit tests"/> + <target name="test" depends="run-tests,run-single-test" description="--> run JUnit tests"/> - <target name="run-tests" depends="dump-info,compile-tests,probe-offline" if="junit.present"> + <target name="run-tests" depends="dump-info,compile-tests,probe-offline" if="junit.present" unless="testcase"> <condition property="run.junitreport"> <or> @@ -1604,4 +1604,4 @@ description="--> creates a minimum distribution in ./dist" depends="dist-lite"/> -</project> +</project> \ No newline at end of file
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]