Skip to content

Commit ed57c8c

Browse files
author
Cruz Monrreal
authored
Merge pull request #7797 from OPpuolitaival/fix_target_name
Fix target_name variable in some use cases
2 parents 4672658 + 1fbced1 commit ed57c8c

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)