From fbb26a405cb8fce5320189f849883e5c5588e3de Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Tue, 5 Jul 2016 15:52:53 +0300 Subject: [PATCH] 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. --- tools/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test.py b/tools/test.py index bdc9bb9c9d..4189650286 100644 --- a/tools/test.py +++ b/tools/test.py @@ -132,7 +132,7 @@ if __name__ == '__main__': base_source_paths = ['.'] - target = TARGET_MAP[options.mcu] + target = options.mcu build_report = {} build_properties = {}