Antoine Lévy-Lambert wrote:

[EMAIL PROTECTED] wrote:

Hi Peter,

I do not understand why you removed the dependency of run-single-test upon compile-tests,run-single-test-only
There must be a good reason but I am surprised.

I did not remove the dependency...
There was a change last week (409) to make target test depend on target run-single-test.


I assume this was to allow:
ant test -Dtestcase=....

It meant however that
if "ant test" succeeds, it will then attempt to
do the run-single-test target, and this fails because testcase is not defined.
This was not noticed as the ProjectTest test fails.


opps,
now I see the confusion, your e-mail reader must have
chopped the depend="..." part of the change.
Peter



Antoine

peterreilly    2004/02/23 06:14:36

Modified: . build.xml
Log:
allow ./build.sh test to work
Revision Changes Path
1.410 +1 -1 ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/ant/build.xml,v
retrieving revision 1.409
retrieving revision 1.410
diff -u -r1.409 -r1.410
--- build.xml 18 Feb 2004 08:11:36 -0000 1.409
+++ build.xml 23 Feb 2004 14:14:36 -0000 1.410
@@ -1568,7 +1568,7 @@
<target name="run-single-test" if="testcase" depends="compile-tests,run-single-test-only"
description="--> runs the single unit test defined in the testcase property"/>
- <target name="run-single-test-only"
+ <target name="run-single-test-only" if="testcase"
description="--> runs the single unit test defined in the testcase property">








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to