mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
fw/execution: write config after installing augs
Add Context.write_config() to write the combined config into run output __meta. Use it after instruments and result processors get installed to make sure their configuration gets serialized in the output.
This commit is contained in:
parent
7755363efd
commit
ce93823967
@ -178,6 +178,9 @@ class ExecutionContext(object):
|
||||
self.skip_job(job)
|
||||
self.write_state()
|
||||
|
||||
def write_config(self):
|
||||
self.run_output.write_config(self.cm.get_config())
|
||||
|
||||
def write_state(self):
|
||||
self.run_output.write_state()
|
||||
|
||||
@ -423,6 +426,8 @@ class Executor(object):
|
||||
pm.install(proc, context)
|
||||
pm.validate()
|
||||
|
||||
context.write_config()
|
||||
|
||||
self.logger.info('Starting run')
|
||||
runner = Runner(context, pm)
|
||||
signal.send(signal.RUN_STARTED, self, context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user