File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@ rem Run Tests. Run the regression test suite.
2- @ rem Plain "rt" runs Release build, arguments passed on to regrtest.
3- @ rem "rt -d" runs Debug build similarly, after shifting off -d.
4- @ rem Normally the tests are run twice, the first time after deleting
5- @ rem all the .py[co] files from Lib/ and Lib/test/. But
6- @ rem "rt -q" (for Quick) runs the tests just once, and without
7- @ rem bothering to delete .py[co] files.
8- @ rem "rt -O" runs python or python_d with -O (depending on -d).
2+ @ rem Usage: rt [-d] [-O] [-q] regrtest_args
3+ @ rem -d Run Debug build (python_d.exe). Else release build.
4+ @ rem -O Run python.exe or python_d.exe (see -d) with -O.
5+ @ rem -q "quick" -- normally the tests are run twice, the first time
6+ @ rem after deleting all the .py[co] files reachable from Lib/.
7+ @ rem -q runs the tests just once, and without deleting .py[co] files.
8+ @ rem All leading instances of these switches are shifted off, and
9+ @ rem whatever remains is passed to regrtest.py. For example,
10+ @ rem rt -O -d -x test_thread
11+ @ rem runs
12+ @ rem python_d -O ../lib/test/regrtest.py -x test_thread
13+ @ rem twice, and
14+ @ rem rt -q -g test_binascii
15+ @ rem runs
16+ @ rem python_d ../lib/test/regrtest.py -g test_binascii
17+ @ rem to generate the expected-output file for binascii quickly.
918@ set _exe = python
1019@ set _qmode = no
1120@ set _dashO =
You can’t perform that action at this time.
0 commit comments