From 24fa8ae8a48b2e5e629cd55090c1537f2cf9e1ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=85=E6=88=8E=E6=B0=8F?= Date: Sat, 10 Feb 2024 02:26:32 +0800 Subject: [PATCH] fix(build.bat): return error if unit test failed --- build.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/build.bat b/build.bat index 5829e4fa5..e78daecad 100644 --- a/build.bat +++ b/build.bat @@ -202,6 +202,7 @@ if errorlevel 1 goto error if "%build_test%" == "ON" ( pushd %build_dir% ctest --output-on-failure + if errorlevel 1 goto error popd )