bpo-31201: Clarify command to re-run failing test(s) with example (GH-6417)
authorAaron Ang <aaronang@users.noreply.github.com>
Mon, 9 Apr 2018 21:09:31 +0000 (14:09 -0700)
committerNed Deily <nad@python.org>
Mon, 9 Apr 2018 21:09:31 +0000 (17:09 -0400)
README.rst

index 7ab7d019b2c8b48db3dbab66c457508da6961150..05daca298ae74a68922163fd35ad8c1bd298959d 100644 (file)
@@ -172,9 +172,10 @@ something is wrong.
 By default, tests are prevented from overusing resources like disk space and
 memory.  To enable these tests, run ``make testall``.
 
-If any tests fail, you can re-run the failing test(s) in verbose mode::
+If any tests fail, you can re-run the failing test(s) in verbose mode.  For
+example, if ``test_os`` and ``test_gdb`` failed, you can run::
 
-    make test TESTOPTS="-v test_that_failed"
+    make test TESTOPTS="-v test_os test_gdb"
 
 If the failure persists and appears to be a problem with Python rather than
 your environment, you can `file a bug report <https://bugs.python.org>`_ and