Skip to content

Commit 1fbced1

Browse files
author
Olli-Pekka Puolitaival
committed
Fix target_name variable in some use cases
1 parent ec4c33c commit 1fbced1

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
@@ -2208,7 +2208,7 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name,
22082208
base_path = norm_relative_path(build_path, execution_directory)
22092209

22102210
if isinstance(target, Target):
2211-
target_name
2211+
target_name = target.name
22122212
else:
22132213
target_name = target
22142214
target = TARGET_MAP[target_name]

0 commit comments

Comments
 (0)