diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-26 18:46:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 18:46:52 (GMT) |
commit | fbfec5642edd9d7690bbff088ee43c08e8067044 (patch) | |
tree | 83d83c672f597aa789b2e8a3553c0bcdd47c5def /PCbuild | |
parent | ecd813f054e0dee890d484b8210e202175abd632 (diff) | |
download | cpython-fbfec5642edd9d7690bbff088ee43c08e8067044.zip cpython-fbfec5642edd9d7690bbff088ee43c08e8067044.tar.gz cpython-fbfec5642edd9d7690bbff088ee43c08e8067044.tar.bz2 |
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.
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/rt.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat index 33f4212..7ae7141 100644 --- a/PCbuild/rt.bat +++ b/PCbuild/rt.bat @@ -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 ... |