Commit 2dcec0ca authored by Robert Loehning's avatar Robert Loehning Committed by Robert Löhning
Browse files

Squish: Updated check for new, more detailed warning



Change-Id: I55b470db573aaca679df9cb1e89511b858683214
Reviewed-by: default avatarChristian Stenger <christian.stenger@nokia.com>
parent 5337b34e
......@@ -20,7 +20,9 @@ def handleDebuggerWarnings(config):
else:
if "Release" in config and platform.system() != "Darwin":
message = waitForObject("{container=':Qt Creator.DebugModeWidget_QSplitter' name='qt_msgbox_label' type='QLabel' visible='1'}", 20000)
test.compare(message.text, "This does not seem to be a \"Debug\" build.\nSetting breakpoints by file name and line number may fail.")
messageText = str(message.text)
test.verify(messageText.startswith('This does not seem to be a "Debug" build.\nSetting breakpoints by file name and line number may fail.'),
"Got warning: %s" % messageText)
clickButton("{container=':Qt Creator.DebugModeWidget_QSplitter' text='OK' type='QPushButton' unnamed='1' visible='1'}")
def takeDebuggerLog():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment