@@ -44,6 +44,8 @@ set enable_static=
44
44
set build_addons_napi =
45
45
set test_node_inspect =
46
46
set test_check_deopts =
47
+ set js_test_suites = inspector known_issues message parallel sequential
48
+ set " common_test_suites = %js_test_suites% doctool addons addons-napi&set build_addons=1&set build_addons_napi=1"
47
49
48
50
:next-arg
49
51
if " %1 " == " " goto args-done
@@ -65,8 +67,8 @@ if /i "%1"=="nosnapshot" set nosnapshot=1&goto arg-ok
65
67
if /i " %1 " == " noetw" set noetw = 1& goto arg-ok
66
68
if /i " %1 " == " noperfctr" set noperfctr = 1& goto arg-ok
67
69
if /i " %1 " == " licensertf" set licensertf = 1& goto arg-ok
68
- if /i " %1 " == " test" set test_args = %test_args% doctool known_issues message parallel sequential addons addons-napi -J & set cpplint=1& set jslint=1 & set build_addons=1 & set build_addons_napi =1& goto arg-ok
69
- if /i " %1 " == " test-ci" set test_args = %test_args% %test_ci_args% -p tap --logfile test.tap doctool inspector known_issues message sequential parallel addons addons-napi & set cctest_args=%cctest_args% --gtest_output=tap:cctest.tap& set build_addons=1 & set build_addons_napi=1 & goto arg-ok
70
+ if /i " %1 " == " test" set test_args = %test_args% -J %common_test_suites% & set cpplint=1& set jslint=1& goto arg-ok
71
+ if /i " %1 " == " test-ci" set test_args = %test_args% %test_ci_args% -p tap --logfile test.tap %common_test_suites% & set cctest_args=%cctest_args% --gtest_output=tap:cctest.tap& goto arg-ok
70
72
if /i " %1 " == " test-addons" set test_args = %test_args% addons& set build_addons=1& goto arg-ok
71
73
if /i " %1 " == " test-addons-napi" set test_args = %test_args% addons-napi& set build_addons_napi=1& goto arg-ok
72
74
if /i " %1 " == " test-simple" set test_args = %test_args% sequential parallel -J& goto arg-ok
@@ -76,8 +78,8 @@ if /i "%1"=="test-inspector" set test_args=%test_args% inspector&goto arg-ok
76
78
if /i " %1 " == " test-tick-processor" set test_args = %test_args% tick-processor& goto arg-ok
77
79
if /i " %1 " == " test-internet" set test_args = %test_args% internet& goto arg-ok
78
80
if /i " %1 " == " test-pummel" set test_args = %test_args% pummel& goto arg-ok
79
- if /i " %1 " == " test-all" set test_args = %test_args% sequential parallel message gc inspector internet pummel& set build_testgc_addon=1& set cpplint=1& set jslint=1& goto arg-ok
80
81
if /i " %1 " == " test-known-issues" set test_args = %test_args% known_issues& goto arg-ok
82
+ if /i " %1 " == " test-all" set test_args = %test_args% gc internet pummel %common_test_suites% & set build_testgc_addon=1& set cpplint=1& set jslint=1& goto arg-ok
81
83
if /i " %1 " == " test-node-inspect" set test_node_inspect = 1& goto arg-ok
82
84
if /i " %1 " == " test-check-deopts" set test_check_deopts = 1& goto arg-ok
83
85
if /i " %1 " == " jslint" set jslint = 1& goto arg-ok
@@ -487,7 +489,7 @@ echo Failed to create vc project files.
487
489
goto exit
488
490
489
491
:help
490
- echo vcbuild.bat [debug/release] [msi] [test-all/test-uv/test-inspector/test-internet/test-pummel/test-simple/test-message] [clean] [noprojgen] [small-icu/full-icu/without-intl] [nobuild] [sign] [x86/x64] [vs2015/vs2017] [download-all] [enable-vtune] [lint/lint-ci] [no-NODE-OPTIONS]
492
+ echo vcbuild.bat [debug/release] [msi] [test/test-ci/test -all/test-uv/test-inspector/test-internet/test-pummel/test-simple/test-message] [clean] [noprojgen] [small-icu/full-icu/without-intl] [nobuild] [sign] [x86/x64] [vs2015/vs2017] [download-all] [enable-vtune] [lint/lint-ci] [no-NODE-OPTIONS]
491
493
echo Examples:
492
494
echo vcbuild.bat : builds release build
493
495
echo vcbuild.bat debug : builds debug build
0 commit comments