Skip to content

Commit b290109

Browse files
committed
Update test_api call to prepare_toolchain
An earlier patch in this series changed the API for `build_api.prepare_toolchain`. This commit updates the `find_test` function to call `prepare_toolchain` correctly.
1 parent d20bcba commit b290109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ def find_tests(base_dir, target_name, toolchain_name, app_config=None):
20132013
tests = {}
20142014

20152015
# Prepare the toolchain
2016-
toolchain = prepare_toolchain([base_dir], target_name, toolchain_name,
2016+
toolchain = prepare_toolchain([base_dir], None, target_name, toolchain_name,
20172017
silent=True, app_config=app_config)
20182018

20192019
# Scan the directory for paths to probe for 'TESTS' folders

0 commit comments

Comments
 (0)