forked from qt-creator/qt-creator
Fix to handle situation where Harmattan isn't found in list of targets.
Change-Id: I7de9e62f756f0c8ea8858853d59bf3743e053ab0 Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
committed by
Christian Stenger
parent
52abdd690f
commit
a8debd265f
@@ -224,7 +224,10 @@ class JIRA:
|
||||
if QtQuickConstants.Targets.HARMATTAN in args[1]:
|
||||
args[1].remove(QtQuickConstants.Targets.HARMATTAN)
|
||||
else:
|
||||
args[1].remove(QtQuickConstants.getStringForTarget(QtQuickConstants.Targets.HARMATTAN))
|
||||
if args[1] and isinstance(args[1][0], (str, unicode)):
|
||||
args[1].remove(QtQuickConstants.getStringForTarget(QtQuickConstants.Targets.HARMATTAN))
|
||||
else:
|
||||
test.warning('Expected Harmattan in targets, failed to find, but bug still marked as open')
|
||||
test.xverify(False, "Removed Harmattan from expected targets.")
|
||||
|
||||
def _workaroundCreator6853_(self, *args):
|
||||
|
||||
Reference in New Issue
Block a user