mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-22 21:05:30 +00:00
Prefer the first tracefile for each failing assertion
This commit is contained in:
parent
2e0087fd2f
commit
b725bfed0c
2 changed files with 4 additions and 1 deletions
|
@ -210,7 +210,8 @@ def run(mode, task, engine_idx, engine):
|
|||
match = re.match(r"^## [0-9: ]+ Writing trace to VCD file: (\S+)", line)
|
||||
if match and last_prop:
|
||||
for p in last_prop:
|
||||
p.tracefile = match[1]
|
||||
if not p.tracefile:
|
||||
p.tracefile = match[1]
|
||||
last_prop = []
|
||||
return line
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue