Correct supported check in exporter tests

pull/4837/head
Jimmy Brisson 2017-07-31 15:31:12 -05:00
parent 2305a8c7e4
commit ca0c2a8d92
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def target_cross_ide(allowed_targets, allowed_ides, features=[], toolchains=[]):
"""
for target in allowed_targets:
for ide in allowed_ides:
if (target in EXPORTERS[ide].TARGETS and
if (EXPORTERS[ide].is_target_supported(target) and
(not toolchains or EXPORTERS[ide].TOOLCHAIN in toolchains) and
all(feature in TARGET_MAP[target].features
for feature in features)):