forked from qt-creator/qt-creator
Squish: Update expected output
Change-Id: If5fdc09ee57ab476e7d434f084fffceb82df23cf Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -84,7 +84,7 @@ def __handleAppOutputWaitForDebuggerFinish__():
|
|||||||
ensureChecked(":Qt Creator_AppOutput_Core::Internal::OutputPaneToggleButton")
|
ensureChecked(":Qt Creator_AppOutput_Core::Internal::OutputPaneToggleButton")
|
||||||
appOutput = waitForObject("{type='Core::OutputWindow' visible='1' "
|
appOutput = waitForObject("{type='Core::OutputWindow' visible='1' "
|
||||||
"windowTitle='Application Output Window'}")
|
"windowTitle='Application Output Window'}")
|
||||||
if not test.verify(waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 20000),
|
if not test.verify(waitFor("str(appOutput.plainText).rstrip().endswith('Debugging has finished')", 20000),
|
||||||
"Verifying whether debugging has finished."):
|
"Verifying whether debugging has finished."):
|
||||||
test.log("Aborting debugging to let test continue.")
|
test.log("Aborting debugging to let test continue.")
|
||||||
invokeMenuItem("Debug", "Abort Debugging")
|
invokeMenuItem("Debug", "Abort Debugging")
|
||||||
|
Reference in New Issue
Block a user