Skip to content

Commit 41ec0af

Browse files
committed
Update Docstring
1 parent 64e71e2 commit 41ec0af

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tools/test/examples/examples.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ def target_cross_toolchain(allowed_toolchains,
3636
"""Generate pairs of target and toolchains
3737
3838
Args:
39-
required_features - the features that must be in the features array of a
40-
target
4139
allowed_toolchains - a list of all possible toolchains
40+
41+
Kwargs:
42+
features - the features that must be in the features array of a
43+
target
44+
targets - a list of available targets
4245
"""
4346
for target, toolchains in get_mbed_official_release("5"):
4447
for toolchain in toolchains:
@@ -66,8 +69,8 @@ def main():
6669
os.chdir(basename(example))
6770
for target, toolchain in target_cross_toolchain(args.toolchains,
6871
**requirements):
69-
proc = subprocess.Popen(["mbed-cli", "compile", "-t",
70-
toolchain, "-m", target])
72+
proc = subprocess.Popen(["mbed-cli", "compile", "-t", toolchain,
73+
"-m", target, "--silent"])
7174
proc.wait()
7275
example_name = "{} {} {}".format(basename(example), target,
7376
toolchain)

0 commit comments

Comments
 (0)