Gabor Szabo wrote:
> So now that I am switching reporting to TAP how do I log the raw data?
> 
> So far I could think only to either create a log file with the raw data or to
> print the raw data using diag().
> In the former case I lose the single result file advantage and I'll have
> to somehow maintain the connection between the TAP output and the log file.
> 
> In the latter case printing so much with diag() might quite easily
> clutter the output and
> if there are newlines in the raw data they might even break the TAP output.
> 
> How do you deal with similar situation ?

Use note() instead of diag().  This will put comments in the TAP stream rather
than on STDERR so you'll only see them if you look at the raw TAP output.  It
should escape newlines and all that.


-- 
"I went to college, which is a lot like being in the Army, except when
 stupid people yell at me for stupid things, I can hit them."
    -- Jonathan Schwarz

Reply via email to