[MERGE] Add -Dselftest_debug debug flag.

Vincent Ladeuil v.ladeuil+lp at free.fr
Tue Mar 25 14:03:09 GMT 2008


>>>>> "Andrew" == Andrew Bennetts <andrew at canonical.com> writes:

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

    Andrew> Example use would be like:

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

    Andrew> I've already found it helpful.

Great ! Now we you can write tests for all debug flags...

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

... or not ;-)

bb:comment

        Vincent




More information about the bazaar mailing list