forked from qt-creator/qt-creator
SquishTests: Improve log messages of exceptions
...and make them more similar to Squish's own "Error" messages. Change-Id: If5df701d4fa01fc1c1aea94cc9778a6a5dccc44e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -436,8 +436,8 @@ def iterateKits(clickOkWhenDone, alreadyOnOptionsDialog,
|
||||
t, v, _ = sys.exc_info()
|
||||
currResult = None
|
||||
test.fatal("Function to additionally execute on Options Dialog could not be "
|
||||
"found or an exception occurred while executing it.", "%s(%s)" %
|
||||
(str(t), str(v)))
|
||||
"found or an exception occurred while executing it.", "%s: %s" %
|
||||
(t.__name__, str(v)))
|
||||
additionalResult.append(currResult)
|
||||
if clickOkWhenDone:
|
||||
clickButton(waitForObject(":Options.OK_QPushButton"))
|
||||
|
Reference in New Issue
Block a user