This patch adds set_comment() method to PerfRepoResultAPI so that user can
add a comment to a test execution.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Controller/Task.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lnst/Controller/Task.py b/lnst/Controller/Task.py
index 5462d44..dac8af0 100644
--- a/lnst/Controller/Task.py
+++ b/lnst/Controller/Task.py
@@ -936,6 +936,9 @@ class PerfRepoResult(object):
def set_hash_ignore(self, hash_ignore):
self._hash_ignore = hash_ignore
+ def set_comment(self, comment):
+ self._testExecution.set_comment(comment)
+
def get_hash_ignore(self):
return self._hash_ignore
--
2.4.3