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@redhat.com --- lnst/Controller/Task.py | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/lnst/Controller/Task.py b/lnst/Controller/Task.py index 5462d44..9f21ffc 100644 --- a/lnst/Controller/Task.py +++ b/lnst/Controller/Task.py @@ -936,6 +936,10 @@ class PerfRepoResult(object): def set_hash_ignore(self, hash_ignore): self._hash_ignore = hash_ignore
+ def set_comment(self, comment): + if comment: + self._testExecution.set_comment(comment) + def get_hash_ignore(self): return self._hash_ignore