Skip to content

Commit

Permalink
test: update test-npm to work with npm 3
Browse files Browse the repository at this point in the history
  • Loading branch information
iarna committed Oct 15, 2015
1 parent dae9fae commit 133f00b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/test-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ export npm_config_prefix="npm-prefix"
export npm_config_tmp="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
NODEPATH="$(../$NODE -p 'require("path").resolve("..")')"
PATH="$NODEPATH:$PATH" ../$NODE cli.js install --ignore-scripts
PATH="$NODEPATH:$PATH" ../$NODE test/run.js
PATH="$NODEPATH:$PATH" ../$NODE cli.js run-script tap -- "test/tap/*.js"

# clean up everything one single shot
cd .. && rm -rf test-npm

0 comments on commit 133f00b

Please sign in to comment.