Browse Source

tools: update test-npm to work with npm 3

Refs: https://github.com/nodejs/node/pull/3308
PR-URL: https://github.com/nodejs/node/pull/3489
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
v5.x
Rebecca Turner 9 years ago
committed by Rod Vagg
parent
commit
3c3435d017
  1. 5
      tools/test-npm.sh

5
tools/test-npm.sh

@ -29,10 +29,9 @@ export npm_config_prefix="$(pwd)/npm-prefix"
export npm_config_tmp="$(pwd)/npm-tmp"
# install npm devDependencies and run npm's tests
../$NODE cli.js install --ignore-scripts
../$NODE cli.js run-script test-legacy
../$NODE cli.js run-script test
../$NODE test/run.js
../$NODE cli.js run-script tap -- "test/tap/*.js"
# clean up everything one single shot
cd .. && rm -rf test-npm

Loading…
Cancel
Save