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 @@ -68,6 +68,7 @@ set cctest=
6868set openssl_no_asm =
6969set doc =
7070set extra_msbuild_args =
71+ set exit_code = 0
7172
7273:next-arg
7374if " %1 " == " " goto args-done
@@ -633,9 +634,11 @@ if defined no_cctest echo Skipping cctest because no-cctest was specified && got
633634if not exist " %config% \cctest.exe" echo cctest.exe not found. Run " vcbuild test" or " vcbuild cctest" to build it. && goto run-test-py
634635echo running 'cctest %cctest_args% '
635636" %config% \cctest" %cctest_args%
637+ if %errorlevel% neq 0 set exit_code = %errorlevel%
636638:run-test-py
637639echo running 'python tools\test.py %test_args% '
638640python tools\test.py %test_args%
641+ if %errorlevel% neq 0 set exit_code = %errorlevel%
639642goto test-v8
640643
641644:test-v8
@@ -715,7 +718,7 @@ echo vcbuild.bat no-cctest : skip building cctest.exe
715718goto exit
716719
717720:exit
718- goto : EOF
721+ exit /b %exit_code%
719722
720723
721724rem ***************
You can’t perform that action at this time.
0 commit comments