lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: seeing stdout when running "ant test"?
Date Sat, 02 Jun 2012 14:28:44 GMT
> 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


Mime
View raw message