mirror of https://github.com/ARMmbed/mbed-os.git
Using description for build reports
parent
7f28e18afe
commit
750b0ed41a
|
@ -77,7 +77,7 @@ def add_result_to_report(report, result):
|
|||
def build_project(src_path, build_path, target, toolchain_name,
|
||||
libraries_paths=None, options=None, linker_script=None,
|
||||
clean=False, notify=None, verbose=False, name=None, macros=None, inc_dirs=None,
|
||||
jobs=1, silent=False, report=None, properties=None, project_id=None):
|
||||
jobs=1, silent=False, report=None, properties=None, project_id=None, project_description=None):
|
||||
""" This function builds project. Project can be for example one test / UT
|
||||
"""
|
||||
# Toolchain instance
|
||||
|
@ -102,7 +102,7 @@ def build_project(src_path, build_path, target, toolchain_name,
|
|||
|
||||
start = time()
|
||||
id_name = project_id.upper()
|
||||
description = project_id
|
||||
description = project_description
|
||||
cur_result = None
|
||||
|
||||
if report != None:
|
||||
|
|
|
@ -464,7 +464,8 @@ class SingleTestRunner(object):
|
|||
jobs=self.opts_jobs,
|
||||
report=build_report,
|
||||
properties=build_properties,
|
||||
project_id=test_id)
|
||||
project_id=test_id,
|
||||
project_description=test.get_description())
|
||||
|
||||
except ToolException:
|
||||
project_name_str = project_name if project_name is not None else test_id
|
||||
|
|
Loading…
Reference in New Issue