[MERGE] provide lock debugging in tests
Robert Collins
robertc at robertcollins.net
Thu Apr 30 07:07:53 BST 2009
On Tue, 2008-04-08 at 06:39 +1000, Robert Collins wrote:
> On Fri, 2008-04-04 at 01:58 -0400, Martin Pool wrote:
> > Martin Pool has voted resubmit.
> > Status is now: Resubmit
> > Comment:
> > It's much better to have options that turn on debug trace not cause side
> > effects; please use -Dlock_checks or something instead.
>
> It seems to me that debugging this will always want both the debug trace
> and lock analysis. The side effect is *solely* within the test suite so
> I don't see using a different flag being any better for now;
>
> > It seems like it would not be much harder to check that they are
> > actually paired up and print the lock that caused the trouble, but I
> > guess someone can add this if they want it.
>
> > Finally, please remember to update the list of debug flags.
>
> Well, not much harder to match the urls and nonces; but thats not that
> much better - really nice turns up when we add trace gathering.
>
> -Rob
Ping; I wanted to use the same flag, but my reply to the review garnered no response.
-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090430/10152785/attachment.pgp
More information about the bazaar
mailing list