mirror of https://github.com/ARMmbed/mbed-os.git
Correct supported check in exporter tests
parent
2305a8c7e4
commit
ca0c2a8d92
|
@ -115,7 +115,7 @@ def target_cross_ide(allowed_targets, allowed_ides, features=[], toolchains=[]):
|
||||||
"""
|
"""
|
||||||
for target in allowed_targets:
|
for target in allowed_targets:
|
||||||
for ide in allowed_ides:
|
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
|
(not toolchains or EXPORTERS[ide].TOOLCHAIN in toolchains) and
|
||||||
all(feature in TARGET_MAP[target].features
|
all(feature in TARGET_MAP[target].features
|
||||||
for feature in features)):
|
for feature in features)):
|
||||||
|
|
Loading…
Reference in New Issue