mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 19:32:34 +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
@@ -97,8 +97,10 @@ class RunCommand(Command):
|
||||
|
||||
parser = AgendaParser()
|
||||
if os.path.isfile(args.agenda):
|
||||
parser.load_from_path(config, args.agenda)
|
||||
includes = parser.load_from_path(config, args.agenda)
|
||||
shutil.copy(args.agenda, output.raw_config_dir)
|
||||
for inc in includes:
|
||||
shutil.copy(inc, output.raw_config_dir)
|
||||
else:
|
||||
try:
|
||||
pluginloader.get_plugin_class(args.agenda, kind='workload')
|
||||
|
Reference in New Issue
Block a user