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:
committed by
Marc Bonnici
parent
7d833ec112
commit
e4a856ad03
wa
@ -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)
|
||||
|
Reference in New Issue
Block a user