tools: update npm test tooling for 3.3.10+
PR-URL: https://github.com/nodejs/node/pull/3599 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This commit is contained in:
parent
827ee498e3
commit
754061f3ae
@ -30,11 +30,14 @@ export npm_config_tmp="$(pwd)/npm-tmp"
|
|||||||
|
|
||||||
# ensure npm always uses the local node
|
# ensure npm always uses the local node
|
||||||
export PATH="$(../$NODE -p 'require("path").resolve("..")'):$PATH"
|
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
|
||||||
# install npm devDependencies and run npm's tests
|
# install npm devDependencies and run npm's tests
|
||||||
../$NODE cli.js install --ignore-scripts
|
node cli.js install --ignore-scripts
|
||||||
../$NODE test/run.js
|
# run the tests
|
||||||
../$NODE cli.js run-script tap -- "test/tap/*.js"
|
node cli.js run-script test-node
|
||||||
|
|
||||||
# clean up everything one single shot
|
# clean up everything one single shot
|
||||||
cd .. && rm -rf test-npm
|
cd .. && rm -rf test-npm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user