3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-26 22:56:04 +00:00

Add --statuscsv

Prints summary of properties for each task, selecting only a single row for each unique status/property/task.  Prefers the earliest FAIL or the latest non-FAIL, using the same formatting as the `--livecsv`.
This commit is contained in:
Krystine Sherwin 2025-07-08 15:47:32 +12:00
parent e2b1e85090
commit 0fa5715909
No known key found for this signature in database
3 changed files with 91 additions and 3 deletions

View file

@ -62,8 +62,9 @@ init_config_file = args.init_config_file
status_show = args.status
status_reset = args.status_reset
status_live_csv = args.livecsv
status_show_csv = args.statuscsv
if status_show or status_reset:
if status_show or status_reset or status_show_csv:
target = workdir_prefix or workdir or sbyfile
if target is None:
print("ERROR: Specify a .sby config file or working directory to use --status.")
@ -95,6 +96,9 @@ if status_show or status_reset:
if status_show:
status_db.print_status_summary()
if status_show_csv:
status_db.print_status_summary_csv()
status_db.db.close()
sys.exit(0)