1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-23 16:56:07 +01:00

framework/config: add eanbled processor tracking to JobGenerator

Add attributes for tracking enabled processors to JobGenerator (similiar
to what already exists for instruments).
This commit is contained in:
Sergei Trofimov
2017-11-03 16:02:44 +00:00
committed by setrofim
parent 337c5e5e1d
commit 4f8bd00fe2
2 changed files with 12 additions and 1 deletions
wa/framework/configuration

@ -45,6 +45,10 @@ class ConfigManager(object):
def enabled_instruments(self):
return self.jobs_config.enabled_instruments
@property
def enabled_processors(self):
return self.jobs_config.enabled_processors
@property
def job_specs(self):
if not self._jobs_generated:
@ -96,7 +100,7 @@ class ConfigManager(object):
def get_processors(self):
processors = []
for name in self.run_config.result_processors:
for name in self.enabled_processors:
try:
proc = self.plugin_cache.get_plugin(name, kind='result_processor')
except NotFoundError: