File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -372,7 +372,8 @@ def get_phi(j):
372372 stdout = subprocess .PIPE ,
373373 stderr = subprocess .PIPE ).communicate ()[0 ]
374374 print '-'
375- slow_out = subprocess .Popen (['nodejs' , 'fuzz.slow.js' ],
375+ node = os .getenv ('NODE' , 'nodejs' )
376+ slow_out = subprocess .Popen ([node , 'fuzz.slow.js' ],
376377 stdout = subprocess .PIPE ,
377378 stderr = subprocess .PIPE ).communicate ()[0 ]
378379 print '_'
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def is_exe(fpath):
157157 which ('gcc' ) or which ('clang' ))
158158NATIVEXX = (os .environ .get ('CXX' ) or which ('mingw32-g++' ) or
159159 which ('g++' ) or which ('clang++' ))
160- NODEJS = which ('nodejs' ) or which ('node' )
160+ NODEJS = os . getenv ( 'NODE' , which ('nodejs' ) or which ('node' ) )
161161MOZJS = which ('mozjs' ) or which ('spidermonkey' )
162162EMCC = which ('emcc' )
163163
You can’t perform that action at this time.
0 commit comments