@@ -61,7 +61,8 @@ if /i "%1"=="test-simple" set test=test-simple&goto arg-ok
6161if /i " %1 " == " test-message" set test = test-message& goto arg-ok
6262if /i " %1 " == " test-gc" set test = test-gc& set buildnodeweak=1& goto arg-ok
6363if /i " %1 " == " test-all" set test = test-all& set buildnodeweak=1& goto arg-ok
64- if /i " %1 " == " test" set test = test& goto arg-ok
64+ if /i " %1 " == " test-ci" set test = test-ci& set nosnapshot=1& set jslint=1& goto arg-ok
65+ if /i " %1 " == " test" set test = test& set jslint=1& goto arg-ok
6566@ rem Include small-icu support with MSI installer
6667if /i " %1 " == " msi" set msi = 1& set licensertf=1& set download_arg=" --download=all" & set i18n_arg=small-icu& goto arg-ok
6768if /i " %1 " == " upload" set upload = 1& goto arg-ok
@@ -81,7 +82,6 @@ goto next-arg
8182
8283:args-done
8384if defined upload goto upload
84- if defined jslint goto jslint
8585
8686if defined build_release (
8787 set nosnapshot = 1
@@ -202,7 +202,11 @@ if "%test%"=="" goto exit
202202if " %config% " == " Debug" set test_args = --mode=debug
203203if " %config% " == " Release" set test_args = --mode=release
204204
205+ set test_args = %test_args% --arch=%target_arch%
206+
207+
205208if " %test% " == " test" set test_args = %test_args% simple message
209+ if " %test% " == " test-ci" set test_args = %test_args% -p tap --logfile test.tap simple message internet
206210if " %test% " == " test-internet" set test_args = %test_args% internet
207211if " %test% " == " test-pummel" set test_args = %test_args% pummel
208212if " %test% " == " test-simple" set test_args = %test_args% simple
@@ -224,7 +228,7 @@ goto exit
224228:run-tests
225229echo running 'python tools/test.py %test_args% '
226230python tools/test.py %test_args%
227- if " %test% " == " test " goto jslint
231+ if defined jslint goto jslint
228232goto exit
229233
230234:create-msvs-files-failed
0 commit comments