Issue 14861: Make ./python -m test work to run test suite in Python 2.7 (original) (raw)

Currently, the devguide (http://docs.python.org/devguide/) mentions two sets of commands for running the CPython test suite:

If you take these two variations and multiply by the 3 variations of "python" command required depending on the OS (Windows, OS X, or other), then there are 6 permutations. I would say that this doesn't exactly encourage newcomers to CPython to contribute.

To take away a bit of the complexity, I have an extremely simple patch that adds one two line file to make ./python -m test work on 2.7.

This is a new feature, not a bug fix, so it can't be added to 2.7.

Newcomers to CPython don't need to bother with 2.7 in general, which can reduce the combination in half. If they want to use something that works in all versions, they can use '-m test.regrtest'.