From a447807ed8407b505abc9348ee76ee205cc2f91a Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Wed, 2 Nov 2016 16:14:40 -0500 Subject: [PATCH] Append targets to scan list for exporting tests --- tools/project.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/project.py b/tools/project.py index 3bd4f3a3a2..31677f178b 100644 --- a/tools/project.py +++ b/tools/project.py @@ -10,7 +10,7 @@ from shutil import move, rmtree from argparse import ArgumentParser from os.path import normpath, realpath -from tools.paths import EXPORT_DIR, MBED_HAL, MBED_LIBRARIES +from tools.paths import EXPORT_DIR, MBED_HAL, MBED_LIBRARIES, MBED_TARGETS_PATH from tools.export import EXPORTERS, mcu_ide_matrix from tools.tests import TESTS, TEST_MAP from tools.tests import test_known, test_name_known, Test @@ -54,6 +54,7 @@ def setup_project(ide, target, program=None, source_dir=None, build=None, export if MBED_LIBRARIES in test.dependencies: test.dependencies.remove(MBED_LIBRARIES) test.dependencies.append(MBED_HAL) + test.dependencies.append(MBED_TARGETS_PATH) src_paths = [test.source_dir]