3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-25 06:06:02 +00:00

Add --statuscancels option

The statusdb is only used to check for task completions if this option is used, requiring the user to explicitly request the feature.
This commit is contained in:
Krystine Sherwin 2025-07-09 10:04:37 +12:00
parent 5fc8df43f8
commit 67212a20e5
No known key found for this signature in database
3 changed files with 7 additions and 3 deletions

View file

@ -62,6 +62,7 @@ jobcount = args.jobcount
init_config_file = args.init_config_file
status_show = args.status
status_reset = args.status_reset
status_cancels = args.status_cancels
status_live_csv = args.livecsv
status_show_csv = args.statuscsv
status_latest = args.status_latest
@ -491,7 +492,7 @@ def start_task(taskloop, taskname):
else:
junit_filename = "junit"
task = SbyTask(sbyconfig, my_workdir, early_logmsgs, reusedir, taskloop, name=taskname, live_csv=status_live_csv)
task = SbyTask(sbyconfig, my_workdir, early_logmsgs, reusedir, status_cancels, taskloop, name=taskname, live_csv=status_live_csv)
for k, v in exe_paths.items():
task.exe_paths[k] = v