[merge] selftest --first

Martin Pool mbp at canonical.com
Sun Jan 14 07:02:17 GMT 2007

Sometimes I've changed some code in one area of Bazaar (say diff), and
so I want to run the tests relating to diff because they're most likely
to find any problems.  But there might also be unintended side-effects,
so I want to test everything else too.

This patch lets you say 

  bzr selftest --first diff 

and it will run all the tests, prioritising the ones most likely to give
interesting feedback (if you give the right name).  You can give
multiple words and it will run all matching ones first.

Somewhat ironically there are no new test for this, because the bulk of
the code is hooking it in, and it seemed hard to test that without
running all the tests.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070114-test-first.diff
Type: text/x-diff
Size: 5746 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070114/4968ef0e/attachment.bin 

More information about the bazaar mailing list