[RFC] loading plugins with test flag

John Arbash Meinel john at arbash-meinel.com
Fri Dec 16 15:03:17 GMT 2005


I don't really know how to implement this, but I know that I've written
a couple of plugins which break the test suite, by changing the default
behavior of certain commands. On the other hand, I have plugins which
are meant to end up in core, and I *do* want to have the tests run on them.
Right now the only flag we have is a big --no-plugins which enables or
disables all of them.

I thought it might be nice if there was some way that when a plugin is
loaded it could know if tests were running. So if it knows that loading
itself will break the test suite, it can gracefully not install itself.

Just a thought,
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051216/d6694331/attachment.pgp 


More information about the bazaar mailing list