mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-14 00:51:18 +00:00
smtbmc updates db at each step
All properties marked UNKNOWN get dumped to the db for the previous step, each time the current step is updated.
This commit is contained in:
parent
a332b017e4
commit
e9f4f06fe9
2 changed files with 8 additions and 0 deletions
|
@ -212,7 +212,10 @@ def run(mode, task, engine_idx, engine):
|
|||
|
||||
match = re.match(r"^## [0-9: ]+ .* in step ([0-9]+)\.\.", line)
|
||||
if match:
|
||||
last_step = current_step
|
||||
current_step = int(match[1])
|
||||
if current_step != last_step and last_step is not None:
|
||||
task.update_unknown_asserts(dict(source="smtbmc", engine=f"engine_{engine_idx}", step=last_step))
|
||||
return line
|
||||
|
||||
match = re.match(r"^## [0-9: ]+ Status: FAILED", line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue