mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
commands/process: Add dummy method to ProcessContext
In commit d2ece we are now tracking augmentations which are used during a run in the run_config via the context when installing augmentations. Update the Process command and its ProcessContext with a dummy method to relect this change.
This commit is contained in:
parent
fc226fbb6e
commit
778bc46217
@ -30,6 +30,9 @@ class ProcessContext(object):
|
||||
self.target_info = None
|
||||
self.job_output = None
|
||||
|
||||
def add_augmentation(self, aug):
|
||||
pass
|
||||
|
||||
|
||||
class ProcessCommand(Command):
|
||||
|
||||
@ -92,7 +95,7 @@ class ProcessCommand(Command):
|
||||
|
||||
pm = ProcessorManager(loader=config.plugin_cache)
|
||||
for proc in config.get_processors():
|
||||
pm.install(proc, None)
|
||||
pm.install(proc, pc)
|
||||
if args.additional_processors:
|
||||
for proc in args.additional_processors:
|
||||
# Do not add any processors that are already present since
|
||||
@ -100,7 +103,7 @@ class ProcessCommand(Command):
|
||||
try:
|
||||
pm.get_output_processor(proc)
|
||||
except ValueError:
|
||||
pm.install(proc, None)
|
||||
pm.install(proc, pc)
|
||||
|
||||
pm.validate()
|
||||
pm.initialize()
|
||||
|
Loading…
x
Reference in New Issue
Block a user