Bug report
Bug description:
If python.bat %pgo_job% fails, the build silently succeeds because %ERRORLEVEL% is reset by subsequent commands inside the same parenthesized block (eager evaluation).
A proposed fix would be to split the block after @echo off, save %ERRORLEVEL% outside the block, and check it after call :Kill.
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Windows
Linked PRs
Bug report
Bug description:
If
python.bat %pgo_job%fails, the build silently succeeds because%ERRORLEVEL%is reset by subsequent commands inside the same parenthesized block (eager evaluation).A proposed fix would be to split the block after
@echo off, save%ERRORLEVEL%outside the block, and check it aftercall :Kill.CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Windows
Linked PRs