mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #2613 from bridadan/find-tests-directory-fix
Correctly providing directories to build_apispull/2604/head
commit
5ba3ab70c9
|
@ -2001,10 +2001,10 @@ def find_tests(base_dir, target_name, toolchain_name, options=None):
|
||||||
tests = {}
|
tests = {}
|
||||||
|
|
||||||
# Prepare the toolchain
|
# Prepare the toolchain
|
||||||
toolchain = prepare_toolchain(base_dir, target_name, toolchain_name, options=options, silent=True)
|
toolchain = prepare_toolchain([base_dir], target_name, toolchain_name, options=options, silent=True)
|
||||||
|
|
||||||
# Scan the directory for paths to probe for 'TESTS' folders
|
# Scan the directory for paths to probe for 'TESTS' folders
|
||||||
base_resources = scan_resources(base_dir, toolchain)
|
base_resources = scan_resources([base_dir], toolchain)
|
||||||
|
|
||||||
dirs = base_resources.inc_dirs
|
dirs = base_resources.inc_dirs
|
||||||
for directory in dirs:
|
for directory in dirs:
|
||||||
|
|
Loading…
Reference in New Issue