mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-26 23:15:50 +00:00
parse solver location output for assert failures (cover not functional yet)
This commit is contained in:
parent
a9d1972c47
commit
1cf27e7c31
5 changed files with 91 additions and 9 deletions
|
@ -478,7 +478,7 @@ def run_task(taskname):
|
|||
print(f'</properties>', file=f)
|
||||
if solver_gives_line:
|
||||
for check in checks:
|
||||
print(f'<testcase classname="{junit_tc_name}" name="" time="{task.total_time}">', file=f) # name required
|
||||
print(f'<testcase classname="{junit_tc_name}" name="Property {check.type} in {check.hierarchy} at {check.location}" time="{task.total_time}">', file=f) # name required
|
||||
if check.status == "UNKNOWN":
|
||||
print(f'<skipped />', file=f)
|
||||
elif check.status == "FAIL":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue