Commit 648403d4 authored by Robert Loehning's avatar Robert Loehning

Squish: Fix handleDebuggerWarnings()

Warning now shows up for MSVC builds, too.

Change-Id: I774079fd6ee0f9bf70a7f37c9920dd45e55154d0
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 56dd0c7d
......@@ -48,8 +48,7 @@ def handleDebuggerWarnings(config, isMsvcBuild=False):
clickButton(waitForObject("{text='Cancel' type='QPushButton' unnamed='1' visible='1' window=':Dialog_Debugger::Internal::SymbolPathsDialog'}", 10000))
except LookupError:
pass # No warning. Fine.
else:
if "Release" in config and not platform.system() in ("Darwin", "Microsoft", "Windows"):
if "Release" in config and (isMsvcBuild or platform.system() == "Linux"):
message = waitForObject("{container=':Qt Creator.DebugModeWidget_QSplitter' name='qt_msgbox_label' type='QLabel' visible='1'}")
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.'),
......
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