@@ -33,7 +33,6 @@ set lint_js=
33
33
set lint_cpp =
34
34
set lint_md =
35
35
set lint_md_build =
36
- set build_testgc_addon =
37
36
set noetw =
38
37
set noetw_msi_arg =
39
38
set noperfctr =
@@ -88,13 +87,12 @@ if /i "%1"=="test-addons" set test_args=%test_args% addons&set build_addons=1&
88
87
if /i " %1 " == " test-addons-napi" set test_args = %test_args% addons-napi& set build_addons_napi=1& goto arg-ok
89
88
if /i " %1 " == " test-simple" set test_args = %test_args% sequential parallel -J& goto arg-ok
90
89
if /i " %1 " == " test-message" set test_args = %test_args% message& goto arg-ok
91
- if /i " %1 " == " test-gc" set test_args = %test_args% gc& set build_testgc_addon=1& goto arg-ok
92
90
if /i " %1 " == " test-tick-processor" set test_args = %test_args% tick-processor& goto arg-ok
93
91
if /i " %1 " == " test-internet" set test_args = %test_args% internet& goto arg-ok
94
92
if /i " %1 " == " test-pummel" set test_args = %test_args% pummel& goto arg-ok
95
93
if /i " %1 " == " test-known-issues" set test_args = %test_args% known_issues& goto arg-ok
96
94
if /i " %1 " == " test-async-hooks" set test_args = %test_args% async-hooks& goto arg-ok
97
- if /i " %1 " == " test-all" set test_args = %test_args% gc internet pummel %common_test_suites% & set build_testgc_addon=1 & set lint_cpp=1& set lint_js=1& goto arg-ok
95
+ if /i " %1 " == " test-all" set test_args = %test_args% gc internet pummel %common_test_suites% & set lint_cpp=1& set lint_js=1& goto arg-ok
98
96
if /i " %1 " == " test-node-inspect" set test_node_inspect = 1& goto arg-ok
99
97
if /i " %1 " == " test-check-deopts" set test_check_deopts = 1& goto arg-ok
100
98
if /i " %1 " == " test-npm" set test_npm = 1& goto arg-ok
@@ -467,17 +465,6 @@ for %%F in (%config%\doc\api\*.md) do (
467
465
:run
468
466
@ rem Run tests if requested.
469
467
470
- @ rem Build test/gc add-on if required.
471
- if " %build_testgc_addon% " == " " goto build-addons
472
- %node_gyp_exe% rebuild --directory=" %~dp0 test\gc" --nodedir=" %~dp0 ."
473
- if errorlevel 1 goto build-testgc-addon-failed
474
- goto build-addons
475
-
476
- :build-testgc-addon-failed
477
- echo Failed to build test/gc add-on."
478
- goto exit
479
-
480
- :build-addons
481
468
if not defined build_addons goto build-addons-napi
482
469
if not exist " %node_exe% " (
483
470
echo Failed to find node.exe
@@ -560,7 +547,7 @@ goto lint-cpp
560
547
561
548
:lint-cpp
562
549
if not defined lint_cpp goto lint-js
563
- call :run-lint-cpp src\*.c src\*.cc src\*.h test\addons\*.cc test\addons\*.h test\addons-napi\*.cc test\addons-napi\*.h test\cctest\*.cc test\cctest\*.h test\gc\binding.cc tools\icu\*.cc tools\icu\*.h
550
+ call :run-lint-cpp src\*.c src\*.cc src\*.h test\addons\*.cc test\addons\*.h test\addons-napi\*.cc test\addons-napi\*.h test\cctest\*.cc test\cctest\*.h tools\icu\*.cc tools\icu\*.h
564
551
python tools/check-imports.py
565
552
goto lint-js
566
553
@@ -672,7 +659,7 @@ del .used_configure_flags
672
659
goto exit
673
660
674
661
:help
675
- echo vcbuild.bat [debug/release] [msi] [doc] [test/test-ci/test-all/test-addons/test-addons-napi/test-internet/test-pummel/test-simple/test-message/test-gc/test- tick-processor/test-known-issues/test-node-inspect/test-check-deopts/test-npm/test-async-hooks/test-v8/test-v8-intl/test-v8-benchmarks/test-v8-all] [ignore-flaky] [static/dll] [noprojgen] [projgen] [small-icu/full-icu/without-intl] [nobuild] [nosnapshot] [noetw] [noperfctr] [ltcg] [nopch] [licensetf] [sign] [ia32/x86/x64] [vs2017] [download-all] [enable-vtune] [lint/lint-ci/lint-js/lint-js-ci/lint-md] [lint-md-build] [package] [build-release] [upload] [no-NODE-OPTIONS] [link-module path-to-module] [debug-http2] [debug-nghttp2] [clean] [no-cctest] [openssl-no-asm]
662
+ echo vcbuild.bat [debug/release] [msi] [doc] [test/test-ci/test-all/test-addons/test-addons-napi/test-internet/test-pummel/test-simple/test-message/test-tick-processor/test-known-issues/test-node-inspect/test-check-deopts/test-npm/test-async-hooks/test-v8/test-v8-intl/test-v8-benchmarks/test-v8-all] [ignore-flaky] [static/dll] [noprojgen] [projgen] [small-icu/full-icu/without-intl] [nobuild] [nosnapshot] [noetw] [noperfctr] [ltcg] [nopch] [licensetf] [sign] [ia32/x86/x64] [vs2017] [download-all] [enable-vtune] [lint/lint-ci/lint-js/lint-js-ci/lint-md] [lint-md-build] [package] [build-release] [upload] [no-NODE-OPTIONS] [link-module path-to-module] [debug-http2] [debug-nghttp2] [clean] [no-cctest] [openssl-no-asm]
676
663
echo Examples:
677
664
echo vcbuild.bat : builds release build
678
665
echo vcbuild.bat debug : builds debug build
0 commit comments