Commit 40d112d5 authored by Robert Loehning's avatar Robert Loehning

Squish: Make deep copies of Targets.ALL_TARGETS

Fixes crash in tst_generic_highlighter

Change-Id: I186cf47990e80ee6902c0812e6d6e3a260dfeec5
Reviewed-by: default avatarChristian Stenger <>
parent 1bdaa78f
......@@ -389,7 +389,7 @@ def __chooseTargets__(targets=Targets.DESKTOP_474_GCC, availableTargets=None):
available = availableTargets
# following targets depend on the build environment - added for further/later tests
available = Targets.ALL_TARGETS
available = list(Targets.ALL_TARGETS)
if platform.system() in ('Windows', 'Microsoft'):
elif platform.system() == 'Darwin':
......@@ -632,7 +632,7 @@ def __getSupportedPlatforms__(text, templateName, getAsStrings=False):
elif 'Platform independent' in text:
# MAEMO5 and HARMATTAN could be wrong here - depends on having Madde plugin enabled or not
result = Targets.ALL_TARGETS
result = list(Targets.ALL_TARGETS)
if platform.system() == 'Darwin':
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment