TOOLS: fix failed python test

pull/11904/head
Qinghao Shi 2019-11-20 15:58:37 +00:00
parent 44825560ca
commit e6fe03f698
3 changed files with 7 additions and 4 deletions

View File

@ -454,6 +454,7 @@ def prepare_toolchain(src_paths, build_dir, target, toolchain_name,
app_config - location of a chosen mbed_app.json file
build_profile - a list of mergeable build profiles
ignore - list of paths to add to mbedignore
coverage_patterns - list of patterns for code coverage
"""
# We need to remove all paths which are repeated to avoid

View File

@ -63,7 +63,7 @@ class ARM(mbedToolchain):
return mbedToolchain.generic_check_executable("ARM", 'armcc', 2, 'bin')
def __init__(self, target, notify=None, macros=None,
build_profile=None, build_dir=None):
build_profile=None, build_dir=None, coverage_patterns=None):
mbedToolchain.__init__(
self, target, notify, macros, build_dir=build_dir,
build_profile=build_profile)
@ -440,7 +440,8 @@ class ARM_STD(ARM):
notify=None,
macros=None,
build_profile=None,
build_dir=None
build_dir=None,
coverage_patterns=None
):
ARM.__init__(
self,
@ -448,7 +449,8 @@ class ARM_STD(ARM):
notify,
macros,
build_dir=build_dir,
build_profile=build_profile
build_profile=build_profile,
coverage_patterns=None
)
if int(target.build_tools_metadata["version"]) > 0:
# check only for ARMC5 because ARM_STD means using ARMC5, and thus

View File

@ -44,7 +44,7 @@ class IAR(mbedToolchain):
)
def __init__(self, target, notify=None, macros=None, build_profile=None,
build_dir=None):
build_dir=None, coverage_patterns=None):
mbedToolchain.__init__(
self,
target,