File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ set no_cctest=
68
68
set cctest =
69
69
set openssl_no_asm =
70
70
set doc =
71
- set extra_msbuild_args = ^
71
+ set extra_msbuild_args =
72
+ set exit_code = 0
72
73
73
74
:next-arg
74
75
if " %1 " == " " goto args-done
@@ -559,9 +560,11 @@ if defined no_cctest echo Skipping cctest because no-cctest was specified && got
559
560
if not exist " %config% \cctest.exe" echo cctest.exe not found. Run " vcbuild test" or " vcbuild cctest" to build it. && goto run-test-py
560
561
echo running 'cctest %cctest_args% '
561
562
" %config% \cctest" %cctest_args%
563
+ if %errorlevel% neq 0 set exit_code = %errorlevel%
562
564
:run-test-py
563
565
echo running 'python tools\test.py %test_args% '
564
566
python tools\test.py %test_args%
567
+ if %errorlevel% neq 0 set exit_code = %errorlevel%
565
568
goto test-v8
566
569
567
570
:test-v8
@@ -672,7 +675,7 @@ echo vcbuild.bat no-cctest : skip building cctest.exe
672
675
goto exit
673
676
674
677
:exit
675
- goto : EOF
678
+ exit /b %exit_code%
676
679
677
680
678
681
rem ***************
You can’t perform that action at this time.
0 commit comments