3
0
Fork 0
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:
N. Engelhardt 2022-01-27 13:41:07 +01:00
parent a9d1972c47
commit 1cf27e7c31
5 changed files with 91 additions and 9 deletions

View file

@ -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":