Commit 68b06e9 1 parent afd7e37 commit 68b06e9 Copy full SHA for 68b06e9
File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ test-debugger: all
139
139
$(PYTHON ) tools/test.py debugger
140
140
141
141
test-npm : $(NODE_EXE )
142
- NODE_EXE =$(NODE_EXE ) tools/test-npm.sh
142
+ NODE =$(NODE ) tools/test-npm.sh
143
143
144
144
test-npm-publish : $(NODE_EXE )
145
145
npm_package_config_publishtest=true $(NODE ) deps/npm/test/run.js
Original file line number Diff line number Diff line change 5
5
# always change the working directory to the project's root directory
6
6
cd $( dirname $0 ) /..
7
7
8
- # pass NODE_EXE from something like Makefile
9
- # it should point to either {./}node or {./}node .exe, depending on the platform
10
- if [ -z $NODE_EXE ]; then
8
+ # pass a $NODE environment variable from something like Makefile
9
+ # it should point to either ./iojs or ./iojs .exe, depending on the platform
10
+ if [ -z $NODE ]; then
11
11
echo " No node executable provided. Bailing." >&2
12
12
exit 0
13
13
fi
@@ -29,9 +29,10 @@ export npm_config_prefix="npm-prefix"
29
29
export npm_config_tmp=" npm-tmp"
30
30
31
31
# install npm devDependencies and run npm's tests
32
- ../$NODE_EXE cli.js install --ignore-scripts
33
- ../$NODE_EXE cli.js run-script test-legacy
34
- ../$NODE_EXE cli.js run-script test
32
+
33
+ ../$NODE cli.js install --ignore-scripts
34
+ ../$NODE cli.js run-script test-legacy
35
+ ../$NODE cli.js run-script test
35
36
36
37
# clean up everything one single shot
37
38
cd .. && rm -rf test-npm
You can’t perform that action at this time.
0 commit comments