[MERGE] Speedup selftest by loading a previously saved test list
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Mar 7 11:29:03 GMT 2008
>>>>> "robert" == Robert Collins <robertc at robertcollins.net> writes:
robert> On Tue, 2008-03-04 at 16:49 +0000, John Arbash Meinel wrote:
>>
>> Overall this looks like a decent patch. I wonder if we shouldn't
>> continue to use test_suite() when possible and just have it thunk into
>> load_tests(...). I'm not sure if it is worthwhile as long as we keep
>> bzrlib.tests.test_suite().
robert> I'd suggest trying for test_suite and if it is not there just user
robert> loader.load_tests_from_module(plugin)
Which is exactly the opposite of what I want to do ;-)
So, will it be ok if this was the default loader policy but I
revert it when using a bzr specific loader activated via our
specific selftest options ? I.e. when using --load-list the
loader try load_tests first and then test_suite.
Vincent
More information about the bazaar
mailing list