Skip to content

Commit 24fa8ae

Browse files
committed
fix(build.bat): return error if unit test failed
1 parent 04c4127 commit 24fa8ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.bat

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ if errorlevel 1 goto error
202202
if "%build_test%" == "ON" (
203203
pushd %build_dir%
204204
ctest --output-on-failure
205+
if errorlevel 1 goto error
205206
popd
206207
)
207208

0 commit comments

Comments
 (0)