[RFC] change test output to subunit when stdout is a pipe
Robert Collins
robertc at robertcollins.net
Mon Jul 20 09:06:40 BST 2009
On Mon, 2009-07-20 at 17:42 +1000, Martin Pool wrote:
> Maybe (somewhat separate from the selftest option) this should be
> turned into 'bzr selftest --failures-to failing.list' as a builtin
> shortcut? I'd probably use that a lot...
It certainly could be. OTOH its so easy to do with subunit(*) I don't
know that we need to embed the logic in bzr itself.
*: bzr selftest --subunit | subunit-filter --no-skips | subunit-ls | tee
failing.list
OTOH it would be smaller to type :P
My goal with subunit is to relieve projects of needing to individually
reinvent such facilities though. If bzr can use subunit to get a short
option like you describe without special casing internally I think that
would be great. Hmm, perhaps file a bug (on bzr) and I'll look at it in
some idle moment.
-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/2774e32a/attachment.pgp
More information about the bazaar
mailing list