Skip to content

Commit f3f72c8

Browse files
Olli-Pekka PuolitaivalCruz Monrreal II
authored andcommitted
Fix target_name variable in some use cases
1 parent b53cb32 commit f3f72c8

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

22282228
if isinstance(target, Target):
2229-
target_name
2229+
target_name = target.name
22302230
else:
22312231
target_name = target
22322232
target = TARGET_MAP[target_name]

0 commit comments

Comments
 (0)