Skip to content

Commit 5ba3ab7

Browse files
authored
Merge pull request #2613 from bridadan/find-tests-directory-fix
Correctly providing directories to build_apis
2 parents ae35fae + 8b9a6dc commit 5ba3ab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2001,10 +2001,10 @@ def find_tests(base_dir, target_name, toolchain_name, options=None):
20012001
tests = {}
20022002

20032003
# Prepare the toolchain
2004-
toolchain = prepare_toolchain(base_dir, target_name, toolchain_name, options=options, silent=True)
2004+
toolchain = prepare_toolchain([base_dir], target_name, toolchain_name, options=options, silent=True)
20052005

20062006
# Scan the directory for paths to probe for 'TESTS' folders
2007-
base_resources = scan_resources(base_dir, toolchain)
2007+
base_resources = scan_resources([base_dir], toolchain)
20082008

20092009
dirs = base_resources.inc_dirs
20102010
for directory in dirs:

0 commit comments

Comments
 (0)