Squish: Add try/except to continue anyway

Change-Id: I24a51142988841da3aa156f6a5e6e239a6bd1914
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
Christian Stenger
2012-04-05 18:35:59 +02:00
committed by Robert Löhning
parent f521c9f062
commit 158dfffe7d
+4 -1
View File
@@ -343,7 +343,10 @@ def validType(sType, userDef):
def __closeSubprocessByPushingStop__(sType):
ensureChecked(":Qt Creator_AppOutput_Core::Internal::OutputPaneToggleButton")
waitForObject(":Qt Creator.Stop_QToolButton", 5000)
try:
waitForObject(":Qt Creator.Stop_QToolButton", 5000)
except:
pass
playButton = verifyEnabled(":Qt Creator.ReRun_QToolButton", False)
stopButton = verifyEnabled(":Qt Creator.Stop_QToolButton")
if stopButton.enabled: