diff options
author | Marc Bonnici <marc.bonnici@arm.com> | 2018-11-19 09:59:13 +0000 |
---|---|---|
committer | setrofim <setrofim@gmail.com> | 2018-11-19 10:17:53 +0000 |
commit | a2eb6e96e2a5e3bbba4cb26f786f792177eac078 (patch) | |
tree | 7e57ac4b1484da979482843deab5af35117b4c15 | |
parent | 3bd8f033d57775924a6ddc8a591c616355263b7f (diff) |
commands/process: Fix initialization of ProcessContext ordering
Ensure that that ProcessContext is initialized before attempting to
initialize any of the output processors.
-rw-r--r-- | wa/commands/process.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wa/commands/process.py b/wa/commands/process.py index 3ee9db1b..a1505d0b 100644 --- a/wa/commands/process.py +++ b/wa/commands/process.py @@ -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() |