Skip to content

Commit 3c3435d

Browse files
iarnarvagg
authored andcommitted
tools: update test-npm to work with npm 3
Refs: #3308 PR-URL: #3489 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent ce391ed commit 3c3435d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/test-npm.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ export npm_config_prefix="$(pwd)/npm-prefix"
2929
export npm_config_tmp="$(pwd)/npm-tmp"
3030

3131
# install npm devDependencies and run npm's tests
32-
3332
../$NODE cli.js install --ignore-scripts
34-
../$NODE cli.js run-script test-legacy
35-
../$NODE cli.js run-script test
33+
../$NODE test/run.js
34+
../$NODE cli.js run-script tap -- "test/tap/*.js"
3635

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

0 commit comments

Comments
 (0)