Skip to content

Commit

Permalink
tools: make test-npm work without global npm
Browse files Browse the repository at this point in the history
Futher discussion at nodejs/node-v0.x-archive#25294

PR-URL: #1926
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
Fishrock123 committed Jun 17, 2015
1 parent 88c1831 commit 91dfb5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/test-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 91dfb5e

Please sign in to comment.