tools: make test-npm work without global npm
authorJeremiah Senkpiel <fishrock123@rocketmail.com>
Tue, 9 Jun 2015 18:25:19 +0000 (11:25 -0700)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Wed, 17 Jun 2015 16:25:33 +0000 (09:25 -0700)
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>
tools/test-npm.sh

index 397df10..5f6c5fd 100755 (executable)
@@ -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