ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: Cannot run ant test target on svn trunk
Date Thu, 04 Oct 2007 17:53:26 GMT
On 10/4/07, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
> >I do not see this problem.
> >
> >1)
> >However, the failing tests java file is autogenerated by
> >org.apache.tools.ant.taskdefs.optional.FailureRecoder.
> >
> >You may have had failing tests that do not
> >have nice names.
> >
> >The change to the build file was done here:
> >http://svn.apache.org/viewvc?view=rev&revision=574557
>
>
> As I had done that change - have you seen problems/benefits of that?
>
> I thought when running a single testcase just this testcase is run. The
> FailureRecorder should
> work only when running the whole test suite.
>
This does seem to be the case.
The FailureRecord seems to generate invalid code for
some failures.

The code gets compiled in the test-junit.
It always gets compiled and the tests seem always to get tested?

<macrodef name="test-junit">
  ..
 ..
 <javac srcdir="${junit.collector.dir}" destdir="${junit.collector.dir}">

 ...

..
  <test name=${junit.collector.class}" if="hasFailingTests"/>
  <junit-nested />
..

Peter


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

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


Mime
View raw message