aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-03-19 15:00:57 +0100
committerRobert Loehning <robert.loehning@qt.io>2019-03-19 18:30:17 +0000
commit89c86cee8d30f6492b587b7e57273825fb8200a4 (patch)
treee7fd0f20340ae0518879cb58d5cabeccff5bb771 /tests/system
parent5c5ae209f0333cf7fefd855135d4fef85ace17eb (diff)
Squish: Add exception logging
Might help to figure out a problem on the build machines. Change-Id: I1483a508d490e3cd4312d91c62d3e4a2891d0b10 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/shared/editor_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/system/shared/editor_utils.py b/tests/system/shared/editor_utils.py
index a6cf0cea4c..1afd10bdc9 100644
--- a/tests/system/shared/editor_utils.py
+++ b/tests/system/shared/editor_utils.py
@@ -85,6 +85,8 @@ def menuVisibleAtEditor(editor, menuInList):
menuInList[0] = menu
return success
except:
+ t, v = sys.exc_info()[:2]
+ test.log("Exception: %s" % str(t), str(v))
return False
# this function checks whether the given global point (QPoint)