Browse Source

benchmark: Fix execArgv handling

Bug in 01f3b46 causes the same benchmark to be run repeatedly.

Not so useful for the compare scripts.
v0.10.18-release
isaacs 11 years ago
parent
commit
00a1d3633c
  1. 3
      benchmark/common.js

3
benchmark/common.js

@ -31,8 +31,7 @@ function runBenchmarks() {
console.error(type + '/' + test);
test = path.resolve(dir, test);
var a = process.execArgv || [];
a.push(test);
var a = (process.execArgv || []).concat(test);
var child = spawn(process.execPath, a, { stdio: 'inherit' });
child.on('close', function(code) {
if (code)

Loading…
Cancel
Save