Skip to content

The devguide should mention running Python tests from an installed installed instance #573

Description

@ned-deily

Most distributed versions of Python include or have an option to include install the Python test suite. This is included in the main Python Makefile (Makefile.pre.in) make install step. Unfortunately, test directories to be installed need to be explicitly added to the Makefile so it is easy to overlook such a change when only running tests from a development build directory. The devguide should show how to safely test install Python and run tests with it. For most Unixy ststems, that involves something like:

./configure --prefix=/tmp/py
make -j3
make install
/tmp/py/bin/python3 -m test -w -uall -j3 ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions