mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #2062 from bridadan/shorten-test-binary-name
Changing name of test binaries to just test case folder name.pull/2150/head
commit
f9d38bff37
|
@ -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)
|
test_build_path = os.path.join(build_path, test_path)
|
||||||
src_path = base_source_paths + [test_path]
|
src_path = base_source_paths + [test_path]
|
||||||
bin_file = None
|
bin_file = None
|
||||||
|
test_case_folder_name = os.path.basename(test_path)
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
bin_file = build_project(src_path, test_build_path, target, toolchain_name,
|
bin_file = build_project(src_path, test_build_path, target, toolchain_name,
|
||||||
options=options,
|
options=options,
|
||||||
jobs=jobs,
|
jobs=jobs,
|
||||||
clean=clean,
|
clean=clean,
|
||||||
macros=macros,
|
macros=macros,
|
||||||
name=test_name,
|
name=test_case_folder_name,
|
||||||
|
project_id=test_name,
|
||||||
report=report,
|
report=report,
|
||||||
properties=properties,
|
properties=properties,
|
||||||
verbose=verbose)
|
verbose=verbose)
|
||||||
|
|
Loading…
Reference in New Issue