benchmark: Fix execArgv handling
Bug in 01f3b46 causes the same benchmark to be run repeatedly. Not so useful for the compare scripts.
This commit is contained in:
parent
01f3b468a9
commit
00a1d3633c
@ -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…
x
Reference in New Issue
Block a user