Skip to content

Commit

Permalink
tools: update test-npm to work with npm 3
Browse files Browse the repository at this point in the history
Refs: #3308
PR-URL: #3489
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
  • Loading branch information
iarna authored and rvagg committed Oct 22, 2015
1 parent ce391ed commit 3c3435d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/test-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3c3435d

Please sign in to comment.