Skip to content

Commit abe3553

Browse files
theotherjimmy0xc0170
authored andcommitted
Correct supported check in exporter tests
1 parent 1792f02 commit abe3553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test/examples/examples_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def target_cross_ide(allowed_targets, allowed_ides, features=[], toolchains=[]):
115115
"""
116116
for target in allowed_targets:
117117
for ide in allowed_ides:
118-
if (target in EXPORTERS[ide].TARGETS and
118+
if (EXPORTERS[ide].is_target_supported(target) and
119119
(not toolchains or EXPORTERS[ide].TOOLCHAIN in toolchains) and
120120
all(feature in TARGET_MAP[target].features
121121
for feature in features)):

0 commit comments

Comments
 (0)