Commit d8cc72d7 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Let tst_debug_empty_main continue on error



Change-Id: Ic0772f96c3d99af1d2001ca599820bc61192281c
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 0f04c2b3
...@@ -88,8 +88,11 @@ def __handleAppOutputWaitForDebuggerFinish__(): ...@@ -88,8 +88,11 @@ 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'}")
test.verify(waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 20000), if not test.verify(waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 20000),
"Verifying whether debugging has finished.") "Verifying whether debugging has finished."):
test.log("Aborting debugging to let test continue.")
invokeMenuItem("Debug", "Abort Debugging")
waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 5000)
def performDebugging(workingDir, projectName, checkedTargets): def performDebugging(workingDir, projectName, checkedTargets):
# for checking if it's a plain C application (as project names are set to match project type) # for checking if it's a plain C application (as project names are set to match project type)
......
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