Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e40d282

Browse filesBrowse files
iarnarvagg
authored andcommitted
tools: update npm test tooling for 3.3.10+
PR-URL: #3599 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
1 parent 5667369 commit e40d282
Copy full SHA for e40d282

File tree

Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed
Open diff view settings
Collapse file

‎tools/test-npm.sh‎

Copy file name to clipboardExpand all lines: tools/test-npm.sh
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ export npm_config_tmp="$(pwd)/npm-tmp"
3030

3131
# ensure npm always uses the local node
3232
export PATH="$(../$NODE -p 'require("path").resolve("..")'):$PATH"
33+
unset NODE
3334

35+
# make sure the binaries from the non-dev-deps are available
36+
node cli.js rebuild
3437
# install npm devDependencies and run npm's tests
35-
../$NODE cli.js install --ignore-scripts
36-
../$NODE test/run.js
37-
../$NODE cli.js run-script tap -- "test/tap/*.js"
38+
node cli.js install --ignore-scripts
39+
# run the tests
40+
node cli.js run-script test-node
3841

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.