[MERGE] Add -Dselftest_debug debug flag.

Andrew Bennetts andrew at canonical.com
Tue Mar 25 07:20:07 GMT 2008


Hi all,

I regularly wish I could use “-Dhpss” to debug test failures when hacking on
smart server code.  Unfortunately, the tests helpfully empty the debug_flags to
make sure tests are run in a reliable environment.  This patch adds another
debug flag, “selftest_debug”, to disable this behaviour.

Example use would be like:

    ./bzr --no-plugins -Dselftest_debug -Dhpss selftest test_smart

I've already found it helpful.

As with all our other debug flags, this one has no tests ;)

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: selftest-debug-flags-3303.patch
Type: text/x-diff
Size: 5216 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080325/fb11bb25/attachment.bin 


More information about the bazaar mailing list