Do not change solver output parsing for non-exists-forall problems.

This commit is contained in:
Alberto Gonzalez 2020-03-26 21:23:07 +00:00
parent 5accf08ef9
commit d72cb8ea2a
No known key found for this signature in database
GPG Key ID: 8395A8BA109708B2
1 changed files with 6 additions and 2 deletions

View File

@ -704,8 +704,12 @@ class SmtIo:
if msg is not None:
print("%s waiting for solver (%s)" % (self.timestamp(), msg), flush=True)
result = ""
while result not in ["sat", "unsat", "unknown"]:
if self.forall:
result = self.read()
while result not in ["sat", "unsat", "unknown"]:
print("%s %s: %s" % (self.timestamp(), self.solver, result))
result = self.read()
else:
result = self.read()
if self.debug_file: