mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-109566: regrtest reexecutes the process (#109909)
When --fast-ci or --slow-ci option is used, regrtest now replaces the current process with a new process to add "-u -W default -bb -E" options to Python. Changes: * PCbuild/rt.bat and Tools/scripts/run_tests.py no longer need to add "-u -W default -bb -E" options to Python: it's now done by regrtest. * Fix Tools/scripts/run_tests.py: flush stdout before replacing the process. Previously, buffered messages were lost.
This commit is contained in:
parent
ecd813f054
commit
fbfec5642e
7 changed files with 107 additions and 14 deletions
|
|
@ -48,7 +48,7 @@ if NOT "%1"=="" (set regrtestargs=%regrtestargs% %1) & shift & goto CheckOpts
|
|||
|
||||
if not defined prefix set prefix=%pcbuild%amd64
|
||||
set exe=%prefix%\python%suffix%.exe
|
||||
set cmd="%exe%" %dashO% -u -Wd -E -bb -m test %regrtestargs%
|
||||
set cmd="%exe%" %dashO% -m test %regrtestargs%
|
||||
if defined qmode goto Qmode
|
||||
|
||||
echo Deleting .pyc files ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue