Merge pull request #2062 from bridadan/shorten-test-binary-name

Changing name of test binaries to just test case folder name.
pull/2150/head
Sam Grove 2016-07-26 00:24:08 -05:00 committed by GitHub
commit f9d38bff37
1 changed files with 5 additions and 1 deletions

View File

@ -2072,13 +2072,17 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name,
test_build_path = os.path.join(build_path, test_path)
src_path = base_source_paths + [test_path]
bin_file = None
test_case_folder_name = os.path.basename(test_path)
try:
bin_file = build_project(src_path, test_build_path, target, toolchain_name,
options=options,
jobs=jobs,
clean=clean,
macros=macros,
name=test_name,
name=test_case_folder_name,
project_id=test_name,
report=report,
properties=properties,
verbose=verbose)