Skip to content

Commit e0c7d3b

Browse files
authored
Merge pull request #3188 from theotherjimmy/fix-tests-export
[Exporters] Append targets to scan list for exporting tests
2 parents 405f893 + a447807 commit e0c7d3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/project.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from argparse import ArgumentParser
1111
from os.path import normpath, realpath
1212

13-
from tools.paths import EXPORT_DIR, MBED_HAL, MBED_LIBRARIES
13+
from tools.paths import EXPORT_DIR, MBED_HAL, MBED_LIBRARIES, MBED_TARGETS_PATH
1414
from tools.export import EXPORTERS, mcu_ide_matrix
1515
from tools.tests import TESTS, TEST_MAP
1616
from tools.tests import test_known, test_name_known, Test
@@ -55,6 +55,7 @@ def setup_project(ide, target, program=None, source_dir=None, build=None, export
5555
if MBED_LIBRARIES in test.dependencies:
5656
test.dependencies.remove(MBED_LIBRARIES)
5757
test.dependencies.append(MBED_HAL)
58+
test.dependencies.append(MBED_TARGETS_PATH)
5859

5960

6061
src_paths = [test.source_dir]

0 commit comments

Comments
 (0)