Skip to content

Commit

Permalink
Adding reasoner name in results
Browse files Browse the repository at this point in the history
  • Loading branch information
phochste committed Jun 28, 2024
1 parent 863ed29 commit ddd377d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/make_examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function main(lib, testFile) {
}

const start = performance.now();
const result = await run_tests(reasoner,testFile);
const result = await run_tests(lib,reasoner,testFile);
const elapsed = (performance.now() - start) / 1000;

console.log(`Elapsed: ${elapsed} seconds`);
Expand Down Expand Up @@ -105,7 +105,7 @@ function *walkSync(dir) {
}
}

async function run_tests(reasoner, testFile) {
async function run_tests(lib,reasoner, testFile) {
let ok = 0, incomplete= 0, timeout = 0, lie = 0, skipped = 0, other = 0;

if (testFile) {
Expand Down Expand Up @@ -137,7 +137,7 @@ async function run_tests(reasoner, testFile) {
}
}

console.log(`Results: ${GREEN}${ok} OK${NORMAL}, ${RED}${incomplete} INCOMPLETE${NORMAL}, ${RED}${lie} LIES${NORMAL}, ${PINK}${timeout} TIMEOUT${NORMAL}, ${GREY}${skipped} SKIPPED${NORMAL}, ${other} OTHER`);
console.log(`Results (${lib}): ${GREEN}${ok} OK${NORMAL}, ${RED}${incomplete} INCOMPLETE${NORMAL}, ${RED}${lie} LIES${NORMAL}, ${PINK}${timeout} TIMEOUT${NORMAL}, ${GREY}${skipped} SKIPPED${NORMAL}, ${other} OTHER`);

if (incomplete || lie || timeout || other) {
return false;
Expand Down

0 comments on commit ddd377d

Please sign in to comment.