File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -425,6 +425,7 @@ test-all: test-build ## Run everything in test/.
425
425
test-all-valgrind : test-build
426
426
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=debug,release --valgrind
427
427
428
+ # CI_* variables should be kept synchronized with the ones in vcbuild.bat
428
429
CI_NATIVE_SUITES ?= addons addons-napi
429
430
CI_JS_SUITES ?= default
430
431
CI_DOC := doctool
Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ if /i "%1"=="/?" goto help
15
15
16
16
cd %~dp0
17
17
18
+ @ rem CI_* variables should be kept synchronized with the ones in Makefile
19
+ set CI_NATIVE_SUITES = addons addons-napi
20
+ set CI_JS_SUITES = default
21
+ set CI_DOC = doctool
22
+ @ rem Same as the test-ci target in Makefile
23
+ set " common_test_suites = %CI_JS_SUITES% %CI_NATIVE_SUITES% %CI_DOC% &set build_addons=1&set build_addons_napi=1"
24
+
18
25
@ rem Process arguments.
19
26
set config = Release
20
27
set target = Build
@@ -52,10 +59,8 @@ set enable_static=
52
59
set build_addons_napi =
53
60
set test_node_inspect =
54
61
set test_check_deopts =
55
- set js_test_suites = default
56
62
set v8_test_options =
57
63
set v8_build_options =
58
- set " common_test_suites = %js_test_suites% doctool addons addons-napi&set build_addons=1&set build_addons_napi=1"
59
64
set http2_debug =
60
65
set nghttp2_debug =
61
66
set link_module =
@@ -88,6 +93,8 @@ if /i "%1"=="nopch" set "pch="&goto arg-ok
88
93
if /i " %1 " == " licensertf" set licensertf = 1& goto arg-ok
89
94
if /i " %1 " == " test" set test_args = %test_args% -J %common_test_suites% & set lint_cpp=1& set lint_js=1& set lint_md=1& goto arg-ok
90
95
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
96
+ if /i " %1 " == " test-ci-native" set test_args = %test_args% %test_ci_args% -J -p tap --logfile test.tap %CI_NATIVE_SUITES% %CI_DOC% & set build_addons=1& set build_addons_napi=1& set cctest_args=%cctest_args% --gtest_output=tap:cctest.tap& goto arg-ok
97
+ if /i " %1 " == " test-ci-js" set test_args = %test_args% %test_ci_args% -J -p tap --logfile test.tap %CI_JS_SUITES% & set no_cctest=1& goto arg-ok
91
98
if /i " %1 " == " build-addons" set build_addons = 1& goto arg-ok
92
99
if /i " %1 " == " build-addons-napi" set build_addons_napi = 1& goto arg-ok
93
100
if /i " %1 " == " test-addons" set test_args = %test_args% addons& set build_addons=1& goto arg-ok
You can’t perform that action at this time.
0 commit comments