summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/UITestCase.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/uitest/UITestCase.py b/uitest/UITestCase.py
index 5628d9de3f67..5e088042e713 100644
--- a/uitest/UITestCase.py
+++ b/uitest/UITestCase.py
@@ -6,6 +6,7 @@
#
import unittest
+import time
from uitest_helper import UITest
@@ -25,8 +26,11 @@ class UITestCase(unittest.TestCase):
"org.libreoffice.uitest.UITest", self.xContext)
self.ui_test = UITest(self.xUITest, self.xContext)
+ self.startTime = time.time()
def tearDown(self):
+ t = time.time() - self.startTime
+ print("Execution time for %s: %.3f" % (self.id(), t))
self.connection.tearDown()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */