1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01: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:
Marc Bonnici 2017-04-18 12:00:00 +01:00
parent 16f2bc69f0
commit 16a0e84469

View File

@ -361,6 +361,10 @@ class Runner(object):
self.pm.process_run_output(self.context)
self.pm.export_run_output(self.context)
self.pm.finalize()
log.indent()
for job in self.context.completed_jobs:
job.finalize(self.context)
log.dedent()
def run_next_job(self, context):
job = context.start_job()