smtbmc: Fix return status handling.

This commit is contained in:
Alberto Gonzalez 2020-05-14 17:07:59 +00:00
parent 5bcde7ccc3
commit 299ab76a09
No known key found for this signature in database
GPG Key ID: 8395A8BA109708B2
1 changed files with 2 additions and 2 deletions

View File

@ -1548,7 +1548,7 @@ else: # not tempind, covermode
break break
smt_pop() smt_pop()
if not retstatus: if retstatus == "FAILED" or retstatus == "PREUNSAT":
break break
else: # gentrace else: # gentrace
@ -1568,7 +1568,7 @@ else: # not tempind, covermode
step += step_size step += step_size
if gentrace and retstatus: if gentrace and retstatus == "PASSED":
print_anyconsts(0) print_anyconsts(0)
write_trace(0, num_steps, '%') write_trace(0, num_steps, '%')