forked from qt-creator/qt-creator
Squish: Add try/except to continue anyway
Change-Id: I24a51142988841da3aa156f6a5e6e239a6bd1914 Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
committed by
Robert Löhning
parent
f521c9f062
commit
158dfffe7d
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user