aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@nokia.com>2012-04-05 18:35:59 +0200
committerRobert Löhning <robert.loehning@nokia.com>2012-04-05 19:51:59 +0200
commit158dfffe7d72aa1acd74254a2cab8c52da68d52a (patch)
tree381c3b2f6c68082fb145ed19fe7c5cb57eda7783 /tests
parentf521c9f0628fc89ddc41a1584d65369f9c07a2f3 (diff)
Squish: Add try/except to continue anyway
Change-Id: I24a51142988841da3aa156f6a5e6e239a6bd1914 Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/shared/project.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py
index 43f5c34d2b..b133a66529 100644
--- a/tests/system/shared/project.py
+++ b/tests/system/shared/project.py
@@ -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: