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
432432 $(PYTHON ) tools/test.py known_issues
433433
434434test-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
436436
437437test-npm-publish : $(NODE_EXE )
438438 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
8989if /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
9090if /i " %1 " == " test-node-inspect" set test_node_inspect = 1& goto arg-ok
9191if /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
9293if /i " %1 " == " test-v8" set test_v8 = 1& set custom_v8_test=1& goto arg-ok
9394if /i " %1 " == " test-v8-intl" set test_v8_intl = 1& set custom_v8_test=1& goto arg-ok
9495if /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
454455goto node-tests
455456
456457: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+
457465if " %test_args% " == " " goto test-v8
458466if " %config% " == " Debug" set test_args = --mode=debug %test_args%
459467if " %config% " == " Release" set test_args = --mode=release %test_args%
You can’t perform that action at this time.
0 commit comments