[Python-checkins] cpython: Clean up description of Tools/scripts/run_tests.py.

nadeem.vawda python-checkins at python.org
Tue Aug 2 10:16:54 CEST 2011


http://hg.python.org/cpython/rev/0b52b6f1bfab
changeset:   71687:0b52b6f1bfab
user:        Nadeem Vawda <nadeem.vawda at gmail.com>
date:        Tue Aug 02 10:16:45 2011 +0200
summary:
  Clean up description of Tools/scripts/run_tests.py.

Also, add an entry for the script in Tools/scripts/README.

files:
  Tools/scripts/README       |  3 ++-
  Tools/scripts/run_tests.py |  8 ++++----
  2 files changed, 6 insertions(+), 5 deletions(-)


diff --git a/Tools/scripts/README b/Tools/scripts/README
--- a/Tools/scripts/README
+++ b/Tools/scripts/README
@@ -15,7 +15,7 @@
 diff.py                 Print file diffs in context, unified, or ndiff formats
 dutree.py               Format du(1) output as a tree sorted by size
 eptags.py               Create Emacs TAGS file for Python modules
-find_recursionlimit.py  Find the maximum recursion limit on this machine 
+find_recursionlimit.py  Find the maximum recursion limit on this machine
 finddiv.py              A grep-like tool that looks for division operators
 findlinksto.py          Recursively find symbolic links to a given path prefix
 findnocoding.py         Find source files which need an encoding declaration
@@ -53,6 +53,7 @@
 reindent.py             Change .py files to use 4-space indents
 reindent-rst.py         Fix-up reStructuredText file whitespace
 rgrep.py                Reverse grep through a file (useful for big logfiles)
+run_tests.py            Run the test suite with more sensible default options
 serve.py                Small wsgiref-based web server, used in make serve in Doc
 suff.py                 Sort a list of files by suffix
 svneol.py               Set svn:eol-style on all files in directory
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -1,9 +1,9 @@
 """Run Python's test suite in a fast, rigorous way.
 
-The defaults are meant to be thorough but to skip certain resources are not
-used (by default) which can consume a lot of time and resources (e.g.,
-largefile) or can be distracting (e.g., audio and gui). These defaults
-can be overridden by simply passing a -u option to this script.
+The defaults are meant to be reasonably thorough, while skipping certain
+tests that can be time-consuming or resource-intensive (e.g. largefile),
+or distracting (e.g. audio and gui). These defaults can be overridden by
+simply passing a -u option to this script.
 
 """
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list