1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-21 01:59:13 +00:00

fw/exec: context: add write_job_specs

Add a method to encapsulate the writing of ConfigManager's job specs
into run_output.
This commit is contained in:
Sergei Trofimov 2018-06-22 16:57:14 +01:00 committed by Marc Bonnici
parent 861dff75d4
commit d0dd6c1e04

View File

@ -188,6 +188,9 @@ class ExecutionContext(object):
self.run_output.write_state()
self.run_output.write_result()
def write_job_specs(self):
self.run_output.write_job_specs(self.cm.job_specs)
def get_resource(self, resource, strict=True):
result = self.resolver.get(resource, strict)
if result is None: