From 2f27c73c8ea18eaee2b6f42d51de38b9e7a94d90 Mon Sep 17 00:00:00 2001 From: Robert Loehning <robert.loehning@nokia.com> Date: Mon, 30 Jan 2012 17:03:41 +0100 Subject: [PATCH] Squish: Added warning about unusable targets Change-Id: I2796aaf40d0ffcf89aca085afdc685f57e1b4f76 Reviewed-by: Christian Stenger <christian.stenger@nokia.com> --- tests/system/shared/project.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index 7508c5ed4ae..d855ff33e3d 100644 --- a/tests/system/shared/project.py +++ b/tests/system/shared/project.py @@ -254,7 +254,9 @@ def __chooseTargets__(targets=QtQuickConstants.Targets.DESKTOP): mustCheck) except LookupError: if mustCheck: - test.fail("Failed to check target '%s'" % QtQuickConstants.getStringForTarget(current)) + test.fail("Failed to check target '%s'." % QtQuickConstants.getStringForTarget(current)) + else: + test.warning("Target '%s' is not set up correctly." % QtQuickConstants.getStringForTarget(current)) # run and close an application # withHookInto - if set to True the function tries to attach to the sub-process instead of simply pressing Stop inside Creator -- GitLab