Squish: Let startQC() return applicationContext

Change-Id: I56aff938095948031ff7b4e5fd522654208e4f6b
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2018-10-01 11:21:32 +02:00
parent c6906304a2
commit c5d961fe01

View File

@@ -65,7 +65,7 @@ def startQC(additionalParameters=None, withPreparedSettingsPath=True):
if platform.system() in ('Microsoft', 'Windows'): # for hooking into native file dialog if platform.system() in ('Microsoft', 'Windows'): # for hooking into native file dialog
appWithOptions.extend(('-platform', 'windows:dialogs=none')) appWithOptions.extend(('-platform', 'windows:dialogs=none'))
test.log("Starting now: %s" % ' '.join(appWithOptions)) test.log("Starting now: %s" % ' '.join(appWithOptions))
startApplication(' '.join(appWithOptions)) return startApplication(' '.join(appWithOptions))
def startedWithoutPluginError(): def startedWithoutPluginError():
try: try: