Squish: Fix verifyBuildAndRun()

"The program has unexpectedly finished." is considered valid output,
see https://bugreports.qt-project.org/browse/QTCREATORBUG-9212

Change-Id: Ia18e2dcfccdf1bdfbbc793a01897a88c4a17eb40
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
Robert Loehning
2013-09-19 17:10:49 +02:00
parent 5bf5eb17f1
commit ee1bac2ee6

View File

@@ -241,7 +241,8 @@ def verifyBuildAndRun():
# check application output log
appOutput = logApplicationOutput()
if appOutput:
test.verify(re.search(".* exited with code \d+", str(appOutput)) and
test.verify((re.search(".* exited with code \d+", str(appOutput)) or
re.search("The program has unexpectedly finished\.", str(appOutput))) and
re.search('[Ss]tarting.*', str(appOutput)),
"Verifying if built app started and closed successfully.")