Browse Source

tools: update test-npm.sh paths

PR-URL: https://github.com/nodejs/node/pull/12936
Reviewed-By: Anna Henningsen <anna@addaleax.net>
v6
Kat Marchán 8 years ago
committed by Anna Henningsen
parent
commit
994617370e
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 6
      tools/test-npm.sh

6
tools/test-npm.sh

@ -33,11 +33,11 @@ export PATH="$(../$NODE -p 'require("path").resolve("..")'):$PATH"
unset NODE
# make sure the binaries from the non-dev-deps are available
node cli.js rebuild
node bin/npm-cli.js rebuild
# install npm devDependencies and run npm's tests
node cli.js install --ignore-scripts
node bin/npm-cli.js install --ignore-scripts --no-save
# run the tests
node cli.js run-script test-node
node bin/npm-cli.js run-script test-node
# clean up everything one single shot
cd .. && rm -rf test-npm

Loading…
Cancel
Save