Skip to content
Snippets Groups Projects
Commit 5a3ea7c4 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Failed VC should be a warning

parent 6538c20a
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,8 @@ case class VCResult(status: VCStatus, solvedWith: Option[Solver], timeMs: Option
reporter.info(" => VALID")
case VCStatus.Invalid(cex) =>
reporter.error(" => INVALID")
reporter.error("Found counter-example:")
reporter.warning(" => INVALID")
reporter.warning("Found counter-example:")
// We use PrettyPrinter explicitly and not ScalaPrinter: printing very
// large arrays faithfully in ScalaPrinter is hard, while PrettyPrinter
......@@ -67,10 +67,10 @@ case class VCResult(status: VCStatus, solvedWith: Option[Solver], timeMs: Option
val max = strings.map(_._1.size).max
for ((id, v) <- strings) {
reporter.error((" %-"+max+"s -> %s").format(id, v))
reporter.warning((" %-"+max+"s -> %s").format(id, v))
}
} else {
reporter.error(f" (Empty counter-example)")
reporter.warning(f" (Empty counter-example)")
}
case _ =>
reporter.warning(" => "+status.name.toUpperCase)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment