From d8cc72d7bdafe4048e8f930b885f8f790e91cef6 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 20 Jan 2014 10:37:12 +0100 Subject: Squish: Let tst_debug_empty_main continue on error Change-Id: Ic0772f96c3d99af1d2001ca599820bc61192281c Reviewed-by: Robert Loehning --- tests/system/suite_debugger/tst_debug_empty_main/test.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/system/suite_debugger/tst_debug_empty_main/test.py b/tests/system/suite_debugger/tst_debug_empty_main/test.py index 7e7e13713a..ab5eceea28 100644 --- a/tests/system/suite_debugger/tst_debug_empty_main/test.py +++ b/tests/system/suite_debugger/tst_debug_empty_main/test.py @@ -88,8 +88,11 @@ def __handleAppOutputWaitForDebuggerFinish__(): ensureChecked(":Qt Creator_AppOutput_Core::Internal::OutputPaneToggleButton") appOutput = waitForObject("{type='Core::OutputWindow' visible='1' " "windowTitle='Application Output Window'}") - test.verify(waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 20000), - "Verifying whether debugging has finished.") + if not test.verify(waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 20000), + "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): # for checking if it's a plain C application (as project names are set to match project type) -- cgit v1.2.1