mirror of https://github.com/ARMmbed/mbed-os.git
Changing name of test binaries to just test case folder name.
This mitigates the Windows paths issue by shortening the test binary name to just the test case folder name instead of the full unique test name used by the tools. This doesn't solve the Windows path limit of 260 characters, but it does reduce the characters used.pull/2062/head
parent
0cf924429a
commit
27aea960bc
|
|
@ -2033,13 +2033,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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue