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
allow the testsuite to run in the installed location #61950
Comments
[Meta issue, opening separate issues for test cases] The default install always installs the testsuite together with all the python batteries. So make sure that you can run the testsuite can run from the installed location too.
|
This has been fixed and broken again several times in the past[1]. We need a buildbot that runs the tests installed[2]. Antoine, do you have any thoughts about how to set up such a thing? I'm willing to host it. [1] I believe there used to be a program that ran the tests installed, from a cronjob on some dedicated machine somewhere. It also ran a -R run, I think, as well as being part of a job that built the docs. When the doc building strategy was changed, somewhere in the process of the transition to Python3 (the program was Python2 only, I believe), it seems to have been taken offline completely. [2] failing when run as root is a separate problem, and less practical to set a buildbot run for, though since my buildbots run in VMs, it is not completely out of the question. |
We could change an existing buildbot, say one of the snakebite buildbots, to add a |
It occurs to me that the tricky bit is that the install directory contents should be (a) read-only (easy) and ideally (b) owned by root (a little trickier, but doable with a setuid script or tailored sudo command). |
it doesn't have to be root, just another user as for running the testsuite. |
Right, it doesn't *have* to be root, but that would be the typical situation when the tests are run with Python installed. Having it be any other user still requires some privilege increase. |
How do we stand with eight outstanding issues here? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: