From cf5c3a2723b96dd9c362b2c0568b1ce7e97d1f8c Mon Sep 17 00:00:00 2001
From: Marc Bonnici <marc.bonnici@arm.com>
Date: Mon, 18 Mar 2019 13:32:11 +0000
Subject: [PATCH] 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.
---
 wa/framework/output.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/wa/framework/output.py b/wa/framework/output.py
index 3cf1f5ee..3119e6ce 100644
--- a/wa/framework/output.py
+++ b/wa/framework/output.py
@@ -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):