mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
commands/process: Fix initialization of ProcessContext ordering
Ensure that that ProcessContext is initialized before attempting to initialize any of the output processors.
This commit is contained in:
parent
3bd8f033d5
commit
a2eb6e96e2
@ -80,6 +80,9 @@ class ProcessCommand(Command):
|
||||
|
||||
pc = ProcessContext()
|
||||
for run_output in output_list:
|
||||
pc.run_output = run_output
|
||||
pc.target_info = run_output.target_info
|
||||
|
||||
if not args.recursive:
|
||||
self.logger.info('Installing output processors')
|
||||
else:
|
||||
@ -108,8 +111,6 @@ class ProcessCommand(Command):
|
||||
pm.validate()
|
||||
pm.initialize(pc)
|
||||
|
||||
pc.run_output = run_output
|
||||
pc.target_info = run_output.target_info
|
||||
for job_output in run_output.jobs:
|
||||
pc.job_output = job_output
|
||||
pm.enable_all()
|
||||
|
Loading…
x
Reference in New Issue
Block a user