On 2010-03-05, Bill Moran <wmo...@collaborativefusion.com> wrote: > <target name="test-lib" depends="compile-tests"> > <junit printsummary="withOutAndErr" fork="yes" forkmode="perTest" > timeout="10000" maxmemory="512m" haltonfailure="no" > tempdir="/tmp" failureProperty="test.failure">
> Unfortunately, this doesn't give me any output anywhere. withOutAndErr should give you the output in most cases. Since you are forking the process the output may get buffered inside the forked VM and if a timeout occurs this forked VM is killed without the buffer being cleared. The same is true if the forked VM crashes (runs out of memory, for example). To make sure you get all output of your tests into Ant's logging system as they occur (rather than only to the formatters once a test is finished) set the task's showOutput attribute to true. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org