Skip to content

Commit f5d87e4

Browse files
committed
[bench] fix harnesses and update timeout
1 parent 067bafd commit f5d87e4

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

bench/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ module Cli = struct
300300
in
301301
Arg.(value & opt (some type_conv) None & info [ "type" ])
302302

303-
let time_limit = Arg.(value & opt float 300.0 & info [ "time-limit" ])
303+
let time_limit = Arg.(value & opt float 600.0 & info [ "time-limit" ])
304304

305305
let jobs = Arg.(value & opt int 6 & info [ "jobs" ])
306306

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const esl = require ("esl_symbolic");
22
const gitlog = require('gitlog').default;
33
try {
4-
gitlog({ repo: '/app', number: esl.string("number") });
4+
gitlog({ repo: './', number: esl.string("number") });
55
} catch (err) {
66
console.log('ignore error');
77
}

bench/packages/gitlogplus-3.1.7/harness.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const esl = require("esl_symbolic");
33
const gitlog = require('gitlogplus');
44
const options =
55
{
6-
repo: __dirname + '/git',
6+
repo: __dirname,
77
number: esl.string("number")
88
};
99
let commits = gitlog(options);
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
var esl = require("esl_symbolic");
22
var root = require("global-modules-path");
3-
root.getPath(esl.string("module"), esl.string("executable"));
3+
var executable = esl.string("executable");
4+
esl.assume(executable != "");
5+
root.getPath(esl.string("module"), executable);

0 commit comments

Comments
 (0)