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
@@ -629,9 +630,11 @@ if defined no_cctest echo Skipping cctest because no-cctest was specified && got
629630if not exist " %config% \cctest.exe" echo cctest.exe not found. Run " vcbuild test" or " vcbuild cctest" to build it. && goto run-test-py
630631echo running 'cctest %cctest_args% '
631632" %config% \cctest" %cctest_args%
633+ if %errorlevel% neq 0 set exit_code = %errorlevel%
632634:run-test-py
633635echo running 'python tools\test.py %test_args% '
634636python tools\test.py %test_args%
637+ if %errorlevel% neq 0 set exit_code = %errorlevel%
635638goto test-v8
636639
637640:test-v8
@@ -714,7 +717,7 @@ echo vcbuild.bat no-cctest : skip building cctest.exe
714717goto exit
715718
716719:exit
717- goto : EOF
720+ exit /b %exit_code%
718721
719722
720723rem ***************
You can’t perform that action at this time.
0 commit comments