This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Tests When Building Python
Type: behavior Stage: resolved
Components: Installation Versions: Python 3.7
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: boom0192, eric.smith
Priority: normal Keywords:

Created on 2020-10-05 16:39 by boom0192, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg378062 - (view) Author: Michael L. Boom (boom0192) Date: 2020-10-05 16:39
When building Python it runs 416 tests in sequence.  It would be a "lot" faster if these were run in parallel.
msg378068 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2020-10-05 17:47
From the test.regrtest help:

  -j PROCESSES, --multiprocess PROCESSES
                        run PROCESSES processes at once

So, if you want to run 4 processes in parallel:
./python -m test.regrtest -j4
msg378071 - (view) Author: Michael L. Boom (boom0192) Date: 2020-10-05 18:20
When I do the ./configure, make -j 32, and make install it runs 416 tests in sequence.  Is there a way to make it run 32 unit tests at a time so it is much quicker?  Thanks.
msg378072 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2020-10-05 18:24
You could try setting EXTRATESTOPTS, although I haven't tried it.

This question is probably better asked on python-list or StackOverflow.
Date User Action Args
2022-04-11 14:59:36adminsetgithub: 86113
2020-10-05 23:04:54eric.smithsetstatus: open -> closed
type: behavior
resolution: not a bug
stage: resolved
2020-10-05 18:24:34eric.smithsetmessages: + msg378072
2020-10-05 18:20:12boom0192setmessages: + msg378071
2020-10-05 17:47:51eric.smithsetnosy: + eric.smith
messages: + msg378068
2020-10-05 16:39:39boom0192create