mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Set errorlevel in .bat wrappers on exit /b where appropriate.
Fixed goma_auth/ctl return code on Windows which was always zero. Fixed other places where exit /b was used without %errorlevel%. Change-Id: Ib0a647818c595f843a95762db023b111a447a66a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3532153 Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@google.com> Auto-Submit: Aleksey Khoroshilov <akhoroshilov@brave.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
This commit is contained in:
committed by
LUCI CQ
parent
6ec83a2426
commit
df3228656a
@@ -44,7 +44,7 @@ FOR /f "usebackq tokens=*" %%a in (`%scriptdir%python-bin\python3.bat %scriptdir
|
||||
@if "%NINJA_SUMMARIZE_BUILD%" == "1" call %scriptdir%python-bin\python3.bat %scriptdir%post_build_ninja_summary.py %*
|
||||
@call %scriptdir%python-bin\python3.bat %scriptdir%ninjalog_uploader_wrapper.py --cmdline %*
|
||||
|
||||
exit /b
|
||||
exit /b %ERRORLEVEL%
|
||||
:buildfailure
|
||||
|
||||
@call %scriptdir%python-bin\python3.bat %scriptdir%ninjalog_uploader_wrapper.py --cmdline %*
|
||||
|
||||
Reference in New Issue
Block a user