mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
fw/exec: pass context to run started/completed signals
To be consistent with the rest of exec signals.
This commit is contained in:
parent
ea97372ece
commit
2cb1f47e11
@ -388,13 +388,13 @@ class Executor(object):
|
||||
|
||||
self.logger.info('Starting run')
|
||||
runner = Runner(context, pm)
|
||||
signal.send(signal.RUN_STARTED, self)
|
||||
signal.send(signal.RUN_STARTED, self, context)
|
||||
try:
|
||||
runner.run()
|
||||
finally:
|
||||
context.finalize()
|
||||
self.execute_postamble(context, output)
|
||||
signal.send(signal.RUN_COMPLETED, self)
|
||||
signal.send(signal.RUN_COMPLETED, self, context)
|
||||
|
||||
def execute_postamble(self, context, output):
|
||||
self.logger.info('Done.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user