Slow tests

Martin Pool mbp at canonical.com
Sat Sep 19 08:59:34 BST 2009


2009/9/19 Toshio Kuratomi <a.badger at gmail.com>:
> On 09/18/2009 01:14 PM, Martin (gzlist) wrote:
>> On 18/09/2009, Martin Pool <mbp at canonical.com> wrote:
>>>
>>> Getting good coverage on python2.4 is desirable because our pqm runs
>>> that.  As long as we support using 2.4 it's probably good that pqm
>>> should run it because nobody else does.
>>
>> Hey, *I* do, though might be the only person on the list who still
>> uses 2.4 primarily. Just don't think coding style tests are that
>> important for coverage.
>>
> Heh, fedorahosted.org runs on python2.4 as well.  Although we're still
> running bzr-1.3* so we don't matter as much :-)

My sentence was truncated, or missing a smiley, or something.  I
didn't mean that nobody runs python2.4 anymore: if I really thought
that, I would propose dropping support for it.

What I meant, and what I think is true, is our most active developers
don't normally run their tests on 2.4.  And many of them rely on pqm
rather than running all the tests before every merge.  So in general,
having good coverage there is important.  That can get more
complicated now that we have Babune.

It depends a bit on the cases though: if Martin (gzlist) comes up with
some really useful tests that only work on 2.5+, or a way to make some
tests faster on 2.5+, I'd welcome them.

Another interesting thing in the category of test_source would be to
run pylint or similar as part of these tests.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list