1

In trying to install a custom Python 3 environment on my webhost (Dreamhost), make fails because the webhost's process monitor sees the unit tests as taking too much CPU. While I am able to install the untested Python binaries with make install anyway, I would love to be able to do the build without it even trying to run the unit tests in the first place (mostly to avoid getting the "helpful" automated email from Dreamhost that suggests I upgrade to a VPS).

Since I'm only building stable releases of Python it's pretty much guaranteed that the unit tests would all pass anyway. So, is there an option to python's ./configure or make that will cause it to skip attempting to run the test suite?

4
  • Have you looked at this? stackoverflow.com/questions/44708262/… Commented Apr 5, 2018 at 20:47
  • @Cplusplusplus Thanks, I swear I searched far and wide but couldn't find anything about this... Although it seems the answers on that are basically, "You can't." Commented Apr 6, 2018 at 1:35
  • Oh wait, I see that @umläute's answer has the correct magic - make build_all Commented Apr 6, 2018 at 1:39
  • Possible duplicate of Make (install from source) python without running tests Commented Apr 6, 2018 at 1:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.