You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Erik de Bruin <er...@ixsoftware.nl> on 2013/01/20 09:30:46 UTC

[FalconJx] build.xml test run reports 'failed'

Cyril (or other ant person),

When I run the tests in Eclipse, they all pass... but when I run the
new ant build file for the tests, it reports:

    [junit] Tests FAILED

What might be causing this?

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: [FalconJx] build.xml test run reports 'failed'

Posted by Cyrill Zadra <cy...@gmail.com>.
There is a option to set haltonfailure="true" or haltonerror="true" if
you would like that ant stops (BUILD FAILED) if a failure or error
occurs. But then the following tests aren't executed.

<junit dir="${compiler.tests}"
               fork="yes" forkMode="perBatch" maxmemory="256m" timeout="300000"
               printsummary="true" showoutput="true"
               haltonerror="false" haltonfailure="false"
               failureproperty="tests.unit.failed">
...
</junit>

Cyrill


On Sun, Jan 20, 2013 at 11:15 AM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> The thing is, the tests seem to pass when I run the build.xml, but it
> reports they are not. Maybe it's just that the reporting code misses a
> beat and reports FAILED when it should report SUCCEEDED (or whatever)?
>
> EdB
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl

Re: [FalconJx] build.xml test run reports 'failed'

Posted by Erik de Bruin <er...@ixsoftware.nl>.
The thing is, the tests seem to pass when I run the build.xml, but it
reports they are not. Maybe it's just that the reporting code misses a
beat and reports FAILED when it should report SUCCEEDED (or whatever)?

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: [FalconJx] build.xml test run reports 'failed'

Posted by Cyrill Zadra <cy...@gmail.com>.
Di you run the build.xml of compiler.fx ?

compiler.fx.tests's build.xml uses the created jars of compiler.fx.

Cyrill

On Sun, Jan 20, 2013 at 12:30 AM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> Cyril (or other ant person),
>
> When I run the tests in Eclipse, they all pass... but when I run the
> new ant build file for the tests, it reports:
>
>     [junit] Tests FAILED
>
> What might be causing this?
>
> EdB
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl