mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-23 05:15:30 +00:00
Add "Unexpected response" handling to smtbmc engine
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
This commit is contained in:
parent
42d5255231
commit
0d98201dc7
2 changed files with 6 additions and 2 deletions
|
@ -37,7 +37,6 @@ def run(mode, job, engine_idx, engine):
|
|||
"nopresat", "unroll", "nounroll", "dumpsmt2", "progress", "basecase", "induction", "seed="])
|
||||
|
||||
for o, a in opts:
|
||||
print(o, a)
|
||||
if o == "--nomem":
|
||||
nomem_opt = True
|
||||
elif o == "--syn":
|
||||
|
@ -169,6 +168,11 @@ def run(mode, job, engine_idx, engine):
|
|||
task_status = "ERROR"
|
||||
return line
|
||||
|
||||
match = re.match(r"^## [0-9: ]+ Unexpected response from solver:", line)
|
||||
if match:
|
||||
task_status = "ERROR"
|
||||
return line
|
||||
|
||||
return line
|
||||
|
||||
def exit_callback(retcode):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue