Rafael Garcia-Suarez wrote:
Ovid wrote in perl.qa :
I've had similar issues with test output out of sequence, especially when
I pipe the output into more or tee (sometimes 2>&1 helps, but not
always).
What about an optional environment variable which forcess *all* output
to STDOUT or STDERR but, if not present, leaves things as is? Seems
like that would work and would also be backwards compatible.
What's exactly the problem with sending everything to stdout by default?
T::H knows how to cope with that. I don't like the environment variable
idea. It's easy to forget your environment and be surprised when
switching to anthoer session or machine.
Wouldn't the main problem here be that the code being tested could be
randomly spewing stuff to STDERR on error, and we can't be certain that
isn't going to clash with the TAP output?
Adam K