Skip to content

Commit f9d38bf

Browse files
authored
Merge pull request #2062 from bridadan/shorten-test-binary-name
Changing name of test binaries to just test case folder name.
2 parents 381b352 + 27aea96 commit f9d38bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/test_api.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2072,13 +2072,17 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name,
20722072
test_build_path = os.path.join(build_path, test_path)
20732073
src_path = base_source_paths + [test_path]
20742074
bin_file = None
2075+
test_case_folder_name = os.path.basename(test_path)
2076+
2077+
20752078
try:
20762079
bin_file = build_project(src_path, test_build_path, target, toolchain_name,
20772080
options=options,
20782081
jobs=jobs,
20792082
clean=clean,
20802083
macros=macros,
2081-
name=test_name,
2084+
name=test_case_folder_name,
2085+
project_id=test_name,
20822086
report=report,
20832087
properties=properties,
20842088
verbose=verbose)

0 commit comments

Comments
 (0)