diff --git a/vcbuild.bat b/vcbuild.bat index 1e142a658bc68c..1dec6bc9885546 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -718,6 +718,7 @@ echo vcbuild.bat no-cctest : skip building cctest.exe goto exit :exit +if %errorlevel% neq 0 exit /b %errorlevel% exit /b %exit_code%