From 4255ec2df604be9ca40cec979c5f61f75ae20ce3 Mon Sep 17 00:00:00 2001 From: Robert Loehning <robert.loehning@digia.com> Date: Tue, 7 May 2013 16:06:16 +0200 Subject: [PATCH] Squish: Corrected verifyBuildAndRun() ...to deal with the behavior described in QTCREATORBUG-9212 Change-Id: Ic69098be5a09fe6aa85c40218483c2d679584ab3 Reviewed-by: Christian Stenger <christian.stenger@digia.com> --- tests/system/suite_APTW/shared/aptw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/suite_APTW/shared/aptw.py b/tests/system/suite_APTW/shared/aptw.py index 447401fe423..44d42cab66a 100755 --- a/tests/system/suite_APTW/shared/aptw.py +++ b/tests/system/suite_APTW/shared/aptw.py @@ -9,7 +9,7 @@ def verifyBuildAndRun(): # check application output log appOutput = logApplicationOutput() if appOutput: - test.verify(re.search(".*([Pp]rogram).*(unexpectedly).*([Ff]inished).*", str(appOutput)) and + test.verify(re.search(".* exited with code \d+", str(appOutput)) and re.search('[Ss]tarting.*', str(appOutput)), "Verifying if built app started and closed successfully.") -- GitLab