Commit 28d731c7 authored by Robert Loehning's avatar Robert Loehning

Squish: Exit test cases if runAndCloseApp() failed

Change-Id: I9149673fc1c227543b6d92ece0ed00a993e06ccf
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 34edc737
......@@ -24,6 +24,7 @@ def runVerify(checkedTargets):
for kit, config in availableConfigs:
selectBuildConfig(len(checkedTargets), kit, config)
test.log("Using build config '%s'" % config)
runAndCloseApp()
if not runAndCloseApp():
return
verifyBuildAndRun()
mouseClick(waitForObject(":*Qt Creator.Clear_QToolButton"))
......@@ -11,5 +11,6 @@ def main():
for kit, config in availableConfigs:
selectBuildConfig(len(checkedTargets), kit, config)
test.log("Testing build configuration: " + config)
runAndCloseApp()
if not runAndCloseApp():
return
invokeMenuItem("File", "Exit")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment