File tree Expand file tree Collapse file tree 3 files changed +9
-44
lines changed Expand file tree Collapse file tree 3 files changed +9
-44
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ test-known-issues: all
432
432
$(PYTHON ) tools/test.py known_issues
433
433
434
434
test-npm : $(NODE_EXE )
435
- NODE= $(NODE ) tools/test-npm.sh
435
+ $(NODE ) tools/test-npm-package --install --logfile=test-npm.tap deps/npm test-node
436
436
437
437
test-npm-publish : $(NODE_EXE )
438
438
npm_package_config_publishtest=true $(NODE ) deps/npm/test/run.js
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ if /i "%1"=="test-async-hooks" set test_args=%test_args% async-hooks&goto arg-o
89
89
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
90
90
if /i " %1 " == " test-node-inspect" set test_node_inspect = 1& goto arg-ok
91
91
if /i " %1 " == " test-check-deopts" set test_check_deopts = 1& goto arg-ok
92
+ if /i " %1 " == " test-npm" set test_npm = 1& goto arg-ok
92
93
if /i " %1 " == " test-v8" set test_v8 = 1& set custom_v8_test=1& goto arg-ok
93
94
if /i " %1 " == " test-v8-intl" set test_v8_intl = 1& set custom_v8_test=1& goto arg-ok
94
95
if /i " %1 " == " test-v8-benchmarks" set test_v8_benchmarks = 1& set custom_v8_test=1& goto arg-ok
@@ -454,6 +455,13 @@ set USE_EMBEDDED_NODE_INSPECT=1
454
455
goto node-tests
455
456
456
457
:node-tests
458
+ if not defined test_npm goto no-test-npm
459
+ set npm_test_cmd = " %node_exe% " tools\test-npm-package.js --install --logfile=test-npm.tap deps\npm test-node
460
+ echo %npm_test_cmd%
461
+ %npm_test_cmd%
462
+ if errorlevel 1 goto exit
463
+ :no-test-npm
464
+
457
465
if " %test_args% " == " " goto test-v8
458
466
if " %config% " == " Debug" set test_args = --mode=debug %test_args%
459
467
if " %config% " == " Release" set test_args = --mode=release %test_args%
You can’t perform that action at this time.
0 commit comments