Skip to content

Commit 760204e

Browse files
committed
Fix variable and function names in benchmark script
1 parent eabc411 commit 760204e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/benchmark/benchmark_java_project.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function readNumberOfGoals(stdout) {
6666
return 0;
6767
}
6868
function readJsonFile(fileName) {
69-
return JSON.parse(fs.readFileSync(filename, 'utf8'));
69+
return JSON.parse(fs.readFileSync(fileName, 'utf8'));
7070
}
7171

7272
/// Read the options from tools.json and launch the executable
@@ -92,7 +92,7 @@ function run(executable, modelsPath, argumentsFile, functionName,
9292
// timeout isn't a jbmc option but only used by this script
9393
const timeout = config.timeout;
9494
config['timeout'] = false;
95-
commandLine = `${executable} ${classFile} ${configToString(config)}`
95+
commandLine = `${executable} ${classFile} ${argsToString(config)}`
9696
const startTime = new Date();
9797
try {
9898
const timeCommand = "export TIME=\"%U\"; /usr/bin/time --quiet -o tmp_time.out "

0 commit comments

Comments
 (0)