mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-22 10:38:37 +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:
parent
861dff75d4
commit
d0dd6c1e04
@ -188,6 +188,9 @@ class ExecutionContext(object):
|
|||||||
self.run_output.write_state()
|
self.run_output.write_state()
|
||||||
self.run_output.write_result()
|
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):
|
def get_resource(self, resource, strict=True):
|
||||||
result = self.resolver.get(resource, strict)
|
result = self.resolver.get(resource, strict)
|
||||||
if result is None:
|
if result is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user