[RFC] change test output to subunit when stdout is a pipe
Martin Pool
mbp at sourcefrog.net
Mon Jul 20 08:42:14 BST 2009
2009/7/20 Robert Collins <robertc at robertcollins.net>:
> I redirect for several reasons:
> - to capture for sharing with others
> - to generate test lists to run on ec2
> - as part of my shrinking-failure workflow:
> selftest --subunit | subunit-filter --no-skips | tee failing.log |
> subunit2pyunit
> cat failing.log | subunit-ls > failing.list
> # hack on a failed test
> selftest --load-list failing.list --subunit | ...
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...
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list