On Wed, Feb 23, 2005 at 08:05:13PM -0800, David Wheeler wrote:
> >The way Test::Builder works, diagnostics always go to STDERR.  Is there
> >a reason for this beyond "It's tricky to correlate diagnostics to the
> >appropriate test numbers"?  (I agree with that, but I'm willing to take
> >my chances on certain occasions.)
> 
> Personally, I would love it if they went to STDOUT, if for no other 
> reason than that they would be properly output relative to the 
> surrounding context.

STDOUT and STDERR being desynced is a bug.  The solution is not to mash
them together into one stream but to fix that bug.


> I get diagnostics appearing far away from the 
> output of tests that they're right next to in the code all the time. I 
> though I'd fixed that by turning off buffering on STDERR (Andy 
> committed that patch, I think), but it still happens. :-(

Is this associated with the recent versions of TH that attempt to capture
STDERR?

Reply via email to