Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ned-deily opened this issue Feb 16, 2020 · 0 comments
Labels
enhancement guide-new content Additions; New content or section needed topic-test

Comments

@ned-deily
Copy link
Member

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 ...
@willingc willingc added guide-new content Additions; New content or section needed topic-test enhancement labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement guide-new content Additions; New content or section needed topic-test
Projects
None yet
Development

No branches or pull requests

2 participants