From 055d2e0da4d8a2cb40d84fa99ceda85443680e9c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=89ric=20Araujo?= <merwok@netwok.org> Date: Thu, 16 Dec 2010 00:23:30 +0000 Subject: [PATCH] =?utf8?q?Advertise=20=E2=80=9Cpython=20-m=E2=80=9D=20inst?= =?utf8?q?ead=20of=20direct=20filename.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Doc/library/test.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/test.rst b/Doc/library/test.rst index bcce69020a..b327d2d427 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -168,14 +168,14 @@ 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 ``-u`` command-line -option. Run :program:`python regrtest.py -uall` to turn on all +option. Run :program:`python -m regrtest -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 -``all``. The command :program:`python regrtest.py -uall,-audio,-largefile` +``all``. The command :program:`python -m regrtest -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`. +options, run :program:`python -m regrtest -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 test` at the -- 2.40.0