forked from qt-creator/qt-creator
Squish: Do not invoke Exit on AUT inside helper functions
Quitting the AUT should always be reserved for the main function of a test case. Change-Id: I1a90e7c1e327cde37280e9d3130b30216798382c Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
@@ -231,7 +231,8 @@ def runVerify(checkedTargets):
|
||||
for kit, config in availableConfigs:
|
||||
selectBuildConfig(len(checkedTargets), kit, config)
|
||||
test.log("Using build config '%s'" % config)
|
||||
if not runAndCloseApp():
|
||||
return
|
||||
if runAndCloseApp() == None:
|
||||
checkCompile()
|
||||
continue
|
||||
verifyBuildAndRun()
|
||||
mouseClick(waitForObject(":*Qt Creator.Clear_QToolButton"))
|
||||
|
||||
Reference in New Issue
Block a user