Default hook state and the test suite

Gordon Tyler gordon at doxxx.net
Tue Oct 19 00:30:12 BST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/18/2010 5:35 PM, John Arbash Meinel wrote:
> I'm worried about a whole in our testing setup. Specifically, we have at
> least one case where by default we have a hook installed at runtime (by
> bzrlib), and the test suite defaults to clearing all hooks. It means
> that we aren't testing the "stock" behavior. Which was the point of
> clearing the hooks (so that plugins wouldn't cause test failures when
> they hook in for extra information.)

Perhaps selftest should disable plugins unless --enable-plugins is supplied?

Ciao,
Gordon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMvNiEAAoJEIrPJfWinA2uiRMH/0k2PU+NBe4YOhhB9U9G/hA6
cVBkoh01w1IFBAAiYqaoLwUx0oiMGKrFzoJ9ql0p+klRrgeIlTOhgmwUiQt+PiJC
TOlmih1z0GpCQXC9P0W1YVLmw5+VEzpkHwwwKBb5z2D8/CeYoVYY/BntJZa17EeP
Q8Jvt6rTdwdbHPIKefHAynZXRES+XzmzYpmwr9xivm3MKogWeRiSUvpJR2x+dESM
7xfzj8o5O1/hR09pG3qJOIgXb4hc3GIij/JZqHOvDtMPSdkv97p5xyRUnPQRMNVj
dJdNMloDAYJ4yt9hudcb6SY6mwUtwScdE+l5N5cHirRPpXAW+9khmSKZVyd+4kM=
=KVhM
-----END PGP SIGNATURE-----



More information about the bazaar mailing list