develooper Front page | perl.perl5.porters | Postings from August 2008

Re: Testing ext/ and lib/ in parallel

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
August 13, 2008 07:55
Subject:
Re: Testing ext/ and lib/ in parallel
Message ID:
b77c1dce0808130755q18fa85abmaf62a7f09c7b71a5@mail.gmail.com
2008/8/13 Bram <p5p@perl.wizbit.be>:
>> * run the list of tests of module A and the list of tests of module B
>> in parallel: this should be mostly always possible, I suppose?
>
> This is what it currently does.
>
>> * run in parallel all tests of module A: this should be enabled (or
>> disabled) on a per-module basis, since some test suites require to be
>> run sequentially.
>
> Correct.
> My question was how/where to enable/disable this?

Thanks for explaining :)

> The speedup that can be gained by running all tests in parallel might not be
> enormous but there should be one.
>
> When running the tests in parallel I see at the end a slowdown with the
> tests in lib/Memoize/.
> That is, one job is running and still needs to run several tests scripts
> while all others jobs are doing nothing (because the only tests left to run
> are the ones in lib/Memoize/).

I'd favor putting a file in the t/ directory. This way it can be
extracted and maintained separately.

Thread Previous | 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