@@ -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 js-native-api node-api
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_js_native_api_tests=1&set build_node_api_tests=1"
24
+
18
25
@ rem Process arguments.
19
26
set config = Release
20
27
set target = Build
@@ -51,10 +58,8 @@ set build_js_native_api_tests=
51
58
set build_node_api_tests =
52
59
set test_node_inspect =
53
60
set test_check_deopts =
54
- set js_test_suites = default
55
61
set v8_test_options =
56
62
set v8_build_options =
57
- set " common_test_suites = %js_test_suites% doctool addons js-native-api node-api&set build_addons=1&set build_js_native_api_tests=1&set build_node_api_tests=1"
58
63
set http2_debug =
59
64
set nghttp2_debug =
60
65
set link_module =
@@ -86,8 +91,8 @@ if /i "%1"=="noetw" set noetw=1&goto arg-ok
86
91
if /i " %1 " == " ltcg" set ltcg = 1& goto arg-ok
87
92
if /i " %1 " == " licensertf" set licensertf = 1& goto arg-ok
88
93
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
89
- :: test-ci is deprecated
90
- if /i " %1 " == " test-ci" goto arg-ok
94
+ 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_js_native_api_tests=1 & set build_node_api_tests=1 & set cctest_args= %cctest_args% --gtest_output=xml:cctest.junit.xml & goto arg-ok
95
+ 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
96
if /i " %1 " == " build-addons" set build_addons = 1& goto arg-ok
92
97
if /i " %1 " == " build-js-native-api-tests" set build_js_native_api_tests = 1& goto arg-ok
93
98
if /i " %1 " == " build-node-api-tests" set build_node_api_tests = 1& goto arg-ok
0 commit comments