Skip to content

Commit

Permalink
Handling unknowns better
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Nov 14, 2024
1 parent 62dd365 commit 99427b5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ class InProcessChecker<F : SpecFrontendConfig, B : SpecBackendConfig>(
if (stdoutRemainder.contains("SafetyResult Unsafe")) {
safetyResult = SafetyResult.unsafe(EmptyCex.getInstance(), EmptyProof.getInstance())
}
if (stdoutRemainder.contains("SafetyResult Unknown")) {
safetyResult = SafetyResult.unknown<EmptyProof, EmptyCex>()
}

val newLines = stdoutRemainder.split("\n") // if ends with \n, last element will be ""
newLines.subList(0, newLines.size - 1).forEach {
Expand Down

0 comments on commit 99427b5

Please sign in to comment.