| Index: Doc/library/test.rst |
| =================================================================== |
| --- Doc/library/test.rst (revision 82985) |
| +++ Doc/library/test.rst (working copy) |
| @@ -156,24 +156,23 @@ |
| package whose name starts with ``test_``, importing them, and executing the |
| function :func:`test_main` if present. The names of tests to execute may also |
| be passed to the script. Specifying a single regression test (:program:`python |
| -regrtest.py` :option:`test_spam.py`) will minimize output and only print |
| +regrtest.py test_spam.py`) will minimize output and only print |
| whether the test passed or failed and thus minimize output. |
| Running :mod:`test.regrtest` directly allows what resources are available for |
| -tests to use to be set. You do this by using the :option:`-u` command-line |
| -option. Run :program:`python regrtest.py` :option:`-uall` to turn on all |
| -resources; specifying :option:`all` as an option for :option:`-u` enables all |
| +tests to use to be set. You do this by using the ``-u`` command-line |
| +option. Run :program:`python regrtest.py -uall` to turn on all |
| +resources; specifying ``all`` as an option for ``-u`` enables all |
| possible resources. If all but one resource is desired (a more common case), a |
| comma-separated list of resources that are not desired may be listed after |
| -:option:`all`. The command :program:`python regrtest.py` |
| -:option:`-uall,-audio,-largefile` will run :mod:`test.regrtest` with all |
| -resources except the :option:`audio` and :option:`largefile` resources. For a |
| -list of all resources and more command-line options, run :program:`python |
| -regrtest.py` :option:`-h`. |
| +``all``. The command :program:`python regrtest.py -uall,-audio,-largefile` |
| +will run :mod:`test.regrtest` with all resources except the ``audio`` and |
| +``largefile`` resources. For a list of all resources and more command-line |
| +options, run :program:`python regrtest.py -h`. |
| Some other ways to execute the regression tests depend on what platform the |
| -tests are being executed on. On Unix, you can run :program:`make` |
| -:option:`test` at the top-level directory where Python was built. On Windows, |
| +tests are being executed on. On Unix, you can run :program:`make test` |
| +at the top-level directory where Python was built. On Windows, |
| executing :program:`rt.bat` from your :file:`PCBuild` directory will run all |
| regression tests. |