mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
479 B
20 lines
479 B
15 years ago
|
require("../common");
|
||
|
|
||
|
path = require("path");
|
||
|
|
||
|
isDebug = (process.version.indexOf('debug') >= 0);
|
||
|
|
||
|
nodePath = path.join(__dirname,
|
||
|
"..",
|
||
|
"..",
|
||
|
"build",
|
||
|
isDebug ? 'debug' : 'default',
|
||
|
isDebug ? 'node_g' : 'node');
|
||
|
nodePath = path.normalize(nodePath);
|
||
|
|
||
|
puts('nodePath: ' + nodePath);
|
||
|
puts('process.execPath: ' + process.execPath);
|
||
|
|
||
|
|
||
|
assert.equal(nodePath, process.execPath);
|