Merge pull request #7797 from OPpuolitaival/fix_target_name

Fix target_name variable in some use cases
pull/7807/head
Cruz Monrreal 2018-08-16 16:18:19 -05:00 committed by GitHub
commit ed57c8cb13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2208,7 +2208,7 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name,
base_path = norm_relative_path(build_path, execution_directory)
if isinstance(target, Target):
target_name
target_name = target.name
else:
target_name = target
target = TARGET_MAP[target_name]