1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-20 23:36:02 +01:00

fw/config: preserve included config files

Save included config files, along with the explicitly-specified config
that included them, under run output's __meta/raw_config/.
This commit is contained in:
Sergei Trofimov
2018-07-19 14:43:46 +01:00
committed by Marc Bonnici
parent 7d833ec112
commit e4a856ad03
2 changed files with 5 additions and 2 deletions
wa
commands
framework
configuration

@ -90,8 +90,9 @@ class ConfigManager(object):
self.agenda = None
def load_config_file(self, filepath):
self._config_parser.load_from_path(self, filepath)
includes = self._config_parser.load_from_path(self, filepath)
self.loaded_config_sources.append(filepath)
self.loaded_config_sources.extend(includes)
def load_config(self, values, source):
self._config_parser.load(self, values, source)