[RFC] change test output to subunit when stdout is a pipe

Robert Collins robertc at robertcollins.net
Mon Jul 20 05:14:51 BST 2009


I've noticed that these days I always do the following two things at the
same time, or not at all:
bzr selftest --subunit
bzr selftest > tests.log

by which I mean, I never record test output except in subunit format,
and I never [interactively] use subunit format except when recording
test output.

Would anyone object to a heuristic in bzr selftest to use subunit format
when stdout is a pipe?

-Rob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090720/d8acbc01/attachment.pgp 


More information about the bazaar mailing list