summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremiah Senkpiel <fishrock123@rocketmail.com>2015-06-09 11:25:19 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-06-17 09:25:33 -0700
commit91dfb5e094f6e22f1ea9e1f5ebf8d462c5515eef (patch)
tree04cfa48b13e03632e2b9580c4a77e9e66c92464c
parent88c1831ff4f7c636832b7c98333e326ed81a7080 (diff)
downloadnodejs-91dfb5e094f6e22f1ea9e1f5ebf8d462c5515eef.tar.gz
nodejs-91dfb5e094f6e22f1ea9e1f5ebf8d462c5515eef.tar.bz2
nodejs-91dfb5e094f6e22f1ea9e1f5ebf8d462c5515eef.zip
tools: make test-npm work without global npm
Futher discussion at https://github.com/joyent/node/pull/25294 PR-URL: https://github.com/nodejs/io.js/pull/1926 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
-rwxr-xr-xtools/test-npm.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/test-npm.sh b/tools/test-npm.sh
index 397df10c4..5f6c5fd00 100755
--- a/tools/test-npm.sh
+++ b/tools/test-npm.sh
@@ -30,7 +30,8 @@ export npm_config_tmp="npm-tmp"
# install npm devDependencies and run npm's tests
../$NODE_EXE cli.js install --ignore-scripts
-../$NODE_EXE cli.js run-script test-all
+../$NODE_EXE cli.js run-script test-legacy
+../$NODE_EXE cli.js run-script test
# clean up everything one single shot
cd .. && rm -rf test-npm