1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

fw/output: Add missing "augmentation" attribute to JobOutput

Add attribute to `JobOutput` to allow easy listing of enabled augmentations
for individual jobs rather than just the overall run level.
This commit is contained in:
Marc Bonnici 2019-03-18 13:32:11 +00:00 committed by setrofim
parent 8ddc1c1eba
commit cf5c3a2723

View File

@ -346,6 +346,13 @@ class JobOutput(Output):
self.spec = None
self.reload()
@property
def augmentations(self):
job_augs = set([])
for aug in self.spec.augmentations:
job_augs.add(aug)
return list(job_augs)
class Result(Podable):