@@ -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& 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
@@ -197,12 +197,15 @@ if errorlevel 1 echo Failed to sign msi&goto exit
197197
198198:run
199199@ rem Run tests if requested.
200- if " %test% " == " " goto exit
200+ if " %test% " == " " goto jslint
201201
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+
205207if " %test% " == " test" set test_args = %test_args% simple message
208+ if " %test% " == " test-ci" set test_args = %test_args% -p tap --logfile test.tap simple message internet
206209if " %test% " == " test-internet" set test_args = %test_args% internet
207210if " %test% " == " test-pummel" set test_args = %test_args% pummel
208211if " %test% " == " test-simple" set test_args = %test_args% simple
@@ -224,8 +227,7 @@ goto exit
224227:run-tests
225228echo running 'python tools/test.py %test_args% '
226229python tools/test.py %test_args%
227- if " %test% " == " test" goto jslint
228- goto exit
230+ goto jslint
229231
230232:create-msvs-files-failed
231233echo Failed to create vc project files.
@@ -243,6 +245,7 @@ scp Release\node.pdb node@nodejs.org:~/web/nodejs.org/dist/v%NODE_VERSION%/node.
243245goto exit
244246
245247:jslint
248+ if not defined jslint goto exit
246249echo running jslint
247250set PYTHONPATH = tools/closure_linter/
248251python tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
0 commit comments