From baf28815f5ccd9eda0f3e0977d1f8d52e2a3d5b7 Mon Sep 17 00:00:00 2001 From: Rintaro Kuroiwa Date: Tue, 18 Apr 2017 14:45:07 -0700 Subject: [PATCH] Batch script should fail if ninja fails Change-Id: I29c1db5ff049cdb322fdbbf3552e11b4e9631755 --- kokoro/windows/build.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kokoro/windows/build.bat b/kokoro/windows/build.bat index 02c26d9600..25e14fc4fd 100644 --- a/kokoro/windows/build.bat +++ b/kokoro/windows/build.bat @@ -27,7 +27,7 @@ call %DEPOTTOOLSDIR%\gclient sync echo on cd src -%DEPOTTOOLSDIR%\ninja -C "%OUTPUT_DIRECTORY%" -k 100 +%DEPOTTOOLSDIR%\ninja -C "%OUTPUT_DIRECTORY%" -k 100 || exit /b 1 copy "%OUTPUT_DIRECTORY%\packager.exe" packager-win.exe for %%f in ("%OUTPUT_DIRECTORY%\*_*test.exe") do (%%f || exit /b 666)