File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ set v8_build_options=
5757set http2_debug =
5858set nghttp2_debug =
5959set link_module =
60+ set exit_code = 0
6061
6162:next-arg
6263if " %1 " == " " goto args-done
@@ -486,10 +487,12 @@ if defined skip_cctest goto run-test-py
486487if not exist %config% \cctest.exe goto run-test-py
487488echo running 'cctest %cctest_args% '
488489" %config% \cctest" %cctest_args%
490+ if %errorlevel% neq 0 set exit_code = %errorlevel%
489491:run-test-py
490492REM when building a static library there's no binary to run tests
491493if defined enable_static goto test-v8
492494call :run-python tools\test.py %test_args%
495+ if %errorlevel% neq 0 set exit_code = %errorlevel%
493496
494497:test-v8
495498if not defined custom_v8_test goto lint-cpp
@@ -587,7 +590,7 @@ echo %cmd1%
587590exit /b %ERRORLEVEL%
588591
589592:exit
590- goto : EOF
593+ exit /b %exit_code%
591594
592595
593596rem ***************
You can’t perform that action at this time.
0 commit comments