1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

Expose context in OP initialize and finalize

Expose the context to the initialize and finalize functions for Output
Processors. This was found to be necessary for the upcoming PostgreSQL
Output Processor.
This commit is contained in:
Waleed El-Geresy
2018-09-04 17:18:25 +01:00
committed by Marc Bonnici
parent 4c4fd2a267
commit 718f2c1c90
7 changed files with 14 additions and 14 deletions

View File

@@ -106,7 +106,7 @@ class ProcessCommand(Command):
pm.install(proc, pc)
pm.validate()
pm.initialize()
pm.initialize(pc)
pc.run_output = run_output
pc.target_info = run_output.target_info
@@ -139,7 +139,7 @@ class ProcessCommand(Command):
self.logger.info('Processing run')
pm.process_run_output(pc)
pm.export_run_output(pc)
pm.finalize()
pm.finalize(pc)
run_output.write_result()
self.logger.info('Done.')