1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Invoking workload finalizers at the end of the run.

This commit is contained in:
Sergei Trofimov 2015-06-11 18:04:55 +01:00
parent b3a0933221
commit 6c8228a26c

View File

@ -626,6 +626,10 @@ class Runner(object):
self.context.end_job()
def _finalize_run(self):
self.logger.info('Finalizing workloads')
for workload_spec in self.context.config.workload_specs:
workload_spec.workload.finalize(self.context)
self.logger.info('Finalizing.')
self._send(signal.RUN_FIN)