[Python-Dev] Trimming the fat from "make quicktest" (was Re: I am now lost - committed, pulled, merged, what is "collapse"?)

Barry Warsaw barry at python.org
Wed Mar 23 16:21:30 CET 2011


On Mar 24, 2011, at 12:29 AM, Nick Coghlan wrote:

>Entirely independent of the "make quicktest" question, it would be
>nice if the default behaviour of regrtest was updated to check the
>number of cores a machine has and default to using that many processes
>(leaving people to turn it down if they don't want to dedicate the
>whole machine to the run). I keep forgetting to include the -j4 when I
>run the tests manually, so the tests take nearly 4 times as long as
>they need to (and of course, the test targets in the make file don't
>use it at all, either).

It can't without some refactoring, and you can't set EXTRATESTOPTS=-j4 either
because TESTOPTS includes -l and regrtest complains that -l and -j are
incompatible.

But I agree it would be nice if the test suite automatically took advantage of
more cores where available.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110323/0b9d202c/attachment.pgp>


More information about the Python-Dev mailing list