Skip to content

Commit

Permalink
Less prints
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman committed Oct 8, 2024
1 parent 849b49d commit 050facc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/rascal/CheckerRunner.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ int actualMain(lrel[str, PathConfig] pcfgs, bool printWarnings, loc repoFolder)
stopTime = now();
for (checked <- result) {
messages += sort([<checked.src.top, m> | m <- checked.messages]);
println("*** Messages in <checked.src>:");
iprintln(checked.messages);
if (size(checked.messages) > 0) {
println("*** Messages in <checked.src>:");
iprintln(checked.messages);
}
}
dur = stopTime - startTime;
took = (dur.hours * 60 * 60) + (dur.minutes * 60) + dur.seconds;
Expand Down Expand Up @@ -70,7 +72,7 @@ int actualMain(lrel[str, PathConfig] pcfgs, bool printWarnings, loc repoFolder)
}
println("**** stats:");
for (<n, t, e> <- stats) {
println("- <n> took <t>s (<t/60>m) with <e> errors");
println("- <n> took <t>s (<t/60>m) with <e> <e == -1? "(CRASH)":""> errors");
}
return errors > 0 ? 1 : 0;
}

0 comments on commit 050facc

Please sign in to comment.