From 89c86cee8d30f6492b587b7e57273825fb8200a4 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 19 Mar 2019 15:00:57 +0100 Subject: [PATCH] Squish: Add exception logging Might help to figure out a problem on the build machines. Change-Id: I1483a508d490e3cd4312d91c62d3e4a2891d0b10 Reviewed-by: Robert Loehning --- tests/system/shared/editor_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/system/shared/editor_utils.py b/tests/system/shared/editor_utils.py index a6cf0cea4cb..1afd10bdc93 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)