Skip to content

Commit fbb26a4

Browse files
author
Bogdan Marinescu
committed
Fix tests.py so it can work with application defined targets
With this patch in place, tests.py uses targets names instead of target instances, which makes it possible to use application defined targets with tests.
1 parent 36a577e commit fbb26a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
base_source_paths = ['.']
133133

134134

135-
target = TARGET_MAP[options.mcu]
135+
target = options.mcu
136136

137137
build_report = {}
138138
build_properties = {}

0 commit comments

Comments
 (0)