bzr selftest has many failures

Robert Collins robertc at robertcollins.net
Tue May 17 05:53:24 BST 2005


On Tue, 2005-05-17 at 14:37 +1000, Martin Pool wrote:
> On 16 May 2005, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> > Martin Pool wrote:
> > | On 15 May 2005, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> > |
> > |>I ran testbzr, and it appeared internal tests passed.  But they hadn't.
> > |
> > |
> > | Thanks, both the failures and the failure to report them are now fixed.
> > 
> > bzr selftest now reports:
> > bzr: No module named tests
> 
> Ah, I had a .pyc left behind.  
> 
> This would be a great case for borrowing darcs' pre-checkin test
> strategy:
> 
>   Make an export of the too-be-committed revision to a new temporary
>   directory.  Run the test command there.  If it fails, abort the
>   commit and show the error.

Yup, we use this with baz for the pre-merge checks. It works very
well ;)

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050517/e3bb92a6/attachment.pgp 


More information about the bazaar mailing list