Commit 81b22dd 1 parent f85ec19 commit 81b22dd Copy full SHA for 81b22dd
File tree 1 file changed +4
-1
lines changed
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=
57
57
set http2_debug =
58
58
set nghttp2_debug =
59
59
set link_module =
60
+ set exit_code = 0
60
61
61
62
:next-arg
62
63
if " %1 " == " " goto args-done
@@ -486,10 +487,12 @@ if defined skip_cctest goto run-test-py
486
487
if not exist %config% \cctest.exe goto run-test-py
487
488
echo running 'cctest %cctest_args% '
488
489
" %config% \cctest" %cctest_args%
490
+ if %errorlevel% neq 0 set exit_code = %errorlevel%
489
491
:run-test-py
490
492
REM when building a static library there's no binary to run tests
491
493
if defined enable_static goto test-v8
492
494
call :run-python tools\test.py %test_args%
495
+ if %errorlevel% neq 0 set exit_code = %errorlevel%
493
496
494
497
:test-v8
495
498
if not defined custom_v8_test goto lint-cpp
@@ -587,7 +590,7 @@ echo %cmd1%
587
590
exit /b %ERRORLEVEL%
588
591
589
592
:exit
590
- goto : EOF
593
+ exit /b %exit_code%
591
594
592
595
593
596
rem ***************
You can’t perform that action at this time.
0 commit comments