mirror of https://github.com/ARMmbed/mbed-os.git
Append targets to scan list for exporting tests
parent
fe80efe1bb
commit
a447807ed8
|
@ -10,7 +10,7 @@ from shutil import move, rmtree
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
from os.path import normpath, realpath
|
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.export import EXPORTERS, mcu_ide_matrix
|
||||||
from tools.tests import TESTS, TEST_MAP
|
from tools.tests import TESTS, TEST_MAP
|
||||||
from tools.tests import test_known, test_name_known, Test
|
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:
|
if MBED_LIBRARIES in test.dependencies:
|
||||||
test.dependencies.remove(MBED_LIBRARIES)
|
test.dependencies.remove(MBED_LIBRARIES)
|
||||||
test.dependencies.append(MBED_HAL)
|
test.dependencies.append(MBED_HAL)
|
||||||
|
test.dependencies.append(MBED_TARGETS_PATH)
|
||||||
|
|
||||||
|
|
||||||
src_paths = [test.source_dir]
|
src_paths = [test.source_dir]
|
||||||
|
|
Loading…
Reference in New Issue