mirror of https://github.com/ARMmbed/mbed-os.git
TOOLS: fix failed python test
parent
44825560ca
commit
e6fe03f698
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue