ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/src/etc/testcases/taskdefs java.xml
Date Sat, 03 Jul 2004 18:33:40 GMT
antoine     2004/07/03 11:33:40

  Modified:    src/etc/testcases/taskdefs java.xml
  Log:
  Make JavaTest pass on Windows.
  
  Revision  Changes    Path
  1.15      +6 -1      ant/src/etc/testcases/taskdefs/java.xml
  
  Index: java.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/java.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- java.xml	22 Apr 2004 20:18:35 -0000	1.14
  +++ java.xml	3 Jul 2004 18:33:40 -0000	1.15
  @@ -169,6 +169,10 @@
   
       <!--redirection testcases don't want to run under junit unless forked-->
       <target name="redirect1">
  +        <condition property="sleeptime" value="2000">
  +            <os family="windows"/>
  +        </condition>
  +        <property name="sleeptime" value="1"/>
           <property name="outfile" location="${tmp}/redirect.out" />
   
           <java classname="${pipeapp}"
  @@ -184,7 +188,7 @@
           <waitfor>
               <available file="${outfile}" />
           </waitfor>
  -
  +        <sleep milliseconds="${sleeptime}"/>
           <loadfile property="redirect.out.contents" srcfile="${outfile}" />
   
           <condition property="r1file">
  @@ -220,6 +224,7 @@
           <waitfor>
               <available file="${outfile}" />
           </waitfor>
  +        <sleep milliseconds="${sleeptime}"/>
   
           <loadfile property="redirect.out.contents2" srcfile="${outfile}" />
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message