develooper Front page | perl.qa | Postings from July 2011

Multi-Core Tests

Thread Next
From:
Eden Cardim
Date:
July 14, 2011 18:01
Subject:
Multi-Core Tests
Message ID:
m239i85pdi.fsf@gmail.com

Hello Everyone,

It appears there are several distributions on CPAN whose tests don't
pass when using several cores. This is an annoyance because some of the
larger deplists nearly always have a module with broken tests in them,
so testing can't just be a fire-and-forget operation, it also confuses
some of the less experient developers that have HARNESS_OPTIONS set in
.bashrc. I'm wondering if there has been any discussion directed to
addressing this issue, I've done some research and couldn't find
anything in that regard. What I'm thinking is that maybe the cpan tester
service can do an extra multi-process run on each distribution, and
store the test status along with the other metadata and somehow hand
that information to Test::Harness so it can automatically run in
single-process mode when it finds a test suite that doesn't pass in
multi-process mode. Anyway, I'd just like to get the discussion started,
and I'd be willing to put in some tuits towards implementing a solution
if necessary.

-- 
   Eden Cardim       Need help with your Catalyst or DBIx::Class project?
  Code Monkey                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://blog.edencardim.com/            http://www.shadowcat.co.uk/servers/
http://twitter.com/#!/edenc

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About