diff --git a/vcbuild.bat b/vcbuild.bat index 05383f8a4e9b19..623d7c738f631f 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -717,6 +717,7 @@ echo vcbuild.bat no-cctest : skip building cctest.exe goto exit :exit +if %errorlevel% neq 0 exit /b %errorlevel% exit /b %exit_code%