lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: seeing stdout when running "ant test"?
Date Sat, 02 Jun 2012 14:35:29 GMT
Thanks Dawid!  -Dtests.showSuccess=true is what I was looking for ...
I'll add it to the wiki.

Mike McCandless

http://blog.mikemccandless.com


On Sat, Jun 2, 2012 at 10:28 AM, Dawid Weiss
<dawid.weiss@cs.put.poznan.pl> wrote:
>> It looks like we redirect stdout somewhere when we run "ant test"?  I
>> don't see my sops coming out in that case .... but if I run a single
>> test case, I do see them...
>
> If a test passes the output is not written to the console. This is
> intentional to restrict the amount of noise written to the console.
> Hints:
>
> 1) Full output for every test is always written to tests-report.txt
> (under build folder).
>
> 2) pass -Dtests.showSuccess=true to get the output for successful
> tests or put it in any of the following:
>
>  <property file="${user.home}/lucene.build.properties"/>
>  <property file="${user.home}/build.properties"/>
>  <property file="${basedir}/build.properties"/>
>  <property file="${common.dir}/build.properties"/>
>
> to get the setting enabled permanently for every run.
>
> Note that the output is written only after the test completes (because
> otherwise it'd be difficult to coordinate the output from different
> jvms).
>
> Dawid
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

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


Mime
View raw message