Skip to content

Commit 8137974

Browse files
authored
rm ["python", "-m"] from build_command
1 parent 3665209 commit 8137974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test/examples/examples_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def compile_repos(config, toolchains, targets, profile, verbose, examples):
391391
valid_choices(example['toolchains'], toolchains),
392392
example['features']):
393393
print("Compiling %s for %s, %s" % (name, target, toolchain))
394-
build_command = ["python", "-m", "mbed", "compile", "-t", toolchain, "-m", target] + (['-v'] if verbose else [])
394+
build_command = ["mbed-cli", "compile", "-t", toolchain, "-m", target] + (['-v'] if verbose else [])
395395

396396
if profile:
397397
build_command.append("--profile")

0 commit comments

Comments
 (0)