summaryrefslogtreecommitdiffstats
path: root/PCbuild/rt.bat
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-19 21:44:53 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-19 21:44:53 (GMT)
commitffd93282398c68920fdbf60cbf52ac175cd916fa (patch)
treecaa20b80b99c1fc042222821c0762a0034fdafe3 /PCbuild/rt.bat
parentc9f7c262bdde817db1588f53b63403f9a3c2ca15 (diff)
downloadcpython-ffd93282398c68920fdbf60cbf52ac175cd916fa.zip
cpython-ffd93282398c68920fdbf60cbf52ac175cd916fa.tar.gz
cpython-ffd93282398c68920fdbf60cbf52ac175cd916fa.tar.bz2
Clean up the "docs".
Diffstat (limited to 'PCbuild/rt.bat')
-rwxr-xr-xPCbuild/rt.bat23
1 files changed, 16 insertions, 7 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index 1d2829f..00efe93 100755
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -1,11 +1,20 @@
@rem Run Tests. Run the regression test suite.
-@rem Plain "rt" runs Release build, arguments passed on to regrtest.
-@rem "rt -d" runs Debug build similarly, after shifting off -d.
-@rem Normally the tests are run twice, the first time after deleting
-@rem all the .py[co] files from Lib/ and Lib/test/. But
-@rem "rt -q" (for Quick) runs the tests just once, and without
-@rem bothering to delete .py[co] files.
-@rem "rt -O" runs python or python_d with -O (depending on -d).
+@rem Usage: rt [-d] [-O] [-q] regrtest_args
+@rem -d Run Debug build (python_d.exe). Else release build.
+@rem -O Run python.exe or python_d.exe (see -d) with -O.
+@rem -q "quick" -- normally the tests are run twice, the first time
+@rem after deleting all the .py[co] files reachable from Lib/.
+@rem -q runs the tests just once, and without deleting .py[co] files.
+@rem All leading instances of these switches are shifted off, and
+@rem whatever remains is passed to regrtest.py. For example,
+@rem rt -O -d -x test_thread
+@rem runs
+@rem python_d -O ../lib/test/regrtest.py -x test_thread
+@rem twice, and
+@rem rt -q -g test_binascii
+@rem runs
+@rem python_d ../lib/test/regrtest.py -g test_binascii
+@rem to generate the expected-output file for binascii quickly.
@set _exe=python
@set _qmode=no
@set _dashO=