From 05339a53e9be8ed1e44782d6b8f67bdb930e601f Mon Sep 17 00:00:00 2001 From: Robert Loehning <robert.loehning@digia.com> Date: Thu, 27 Mar 2014 17:45:32 +0100 Subject: [PATCH] Squish: Handle Quick UI not starting Happens with Creator built on Qt 4.8.5 trying to run a Qt Quick 1.1 App Change-Id: I5f83fb26e6ac43daa9ea61af5498b81498476668 Idea-by: Christian Stenger Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: Robert Loehning <robert.loehning@digia.com> --- tests/system/shared/project.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index ed2e06202dc..7152f8b46b7 100644 --- a/tests/system/shared/project.py +++ b/tests/system/shared/project.py @@ -478,7 +478,8 @@ def __closeSubprocessByHookingInto__(executable, port, function, sType, userDefT attachToApplication(executable) except: resetApplicationContextToCreator() - if "Loading Qt Wrapper failed" in str(output.plainText): + if ("Loading Qt Wrapper failed" in str(output.plainText) + or "Failed to assign process to job object" in str(output.plainText)): test.warning("Loading of Qt Wrapper failed - probably different Qt versions.", "Resetting hook-into settings to continue.") # assuming we're still on the build settings of the current project (TODO) -- GitLab