Squish: Added warning about unusable targets

Change-Id: I2796aaf40d0ffcf89aca085afdc685f57e1b4f76
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
Robert Loehning
2012-01-30 17:03:41 +01:00
committed by Robert Löhning
parent 2ef12d8794
commit 2f27c73c8e

View File

@@ -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