Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions testing/run-write-tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,18 @@ a failure, drop the ``-j`` flag:
To limit how many tests run at once, pass an explicit number of
worker processes instead, such as ``-j2``.

To check that the test suite is included in an installed build, install Python
to a fresh prefix and run the test suite with that installation. For example,
on Unix::

./configure --prefix=/tmp/cpython-install
make -j3
make install
/tmp/cpython-install/bin/python3 -m test -j3

Using the installed interpreter is important: running ``./python -m test`` from
the checkout tests the build tree, not the installed files.

.. _strenuous_testing:

Finally, if you want to run tests under a more strenuous set of settings, you
Expand Down