mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-28 07:48:51 +00:00
Runner: Now finalizes all completed workloads at the end of a run.
Previously when finalizing a run the workloads themselves were not included. This ensures that each completed workloads finalize method is called.
This commit is contained in:
parent
16f2bc69f0
commit
16a0e84469
@ -361,6 +361,10 @@ class Runner(object):
|
|||||||
self.pm.process_run_output(self.context)
|
self.pm.process_run_output(self.context)
|
||||||
self.pm.export_run_output(self.context)
|
self.pm.export_run_output(self.context)
|
||||||
self.pm.finalize()
|
self.pm.finalize()
|
||||||
|
log.indent()
|
||||||
|
for job in self.context.completed_jobs:
|
||||||
|
job.finalize(self.context)
|
||||||
|
log.dedent()
|
||||||
|
|
||||||
def run_next_job(self, context):
|
def run_next_job(self, context):
|
||||||
job = context.start_job()
|
job = context.start_job()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user