Skip to content

Commit bf552af

Browse files
Qinghao Shihugueskamba
authored andcommitted
TEST: use mbed-tools build wrapper replace cmake build commands
1 parent 3558a7a commit bf552af

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
@@ -383,7 +383,7 @@ def compile_repos(config, toolchains, targets, profiles, verbose, exp_filter, cm
383383
logging.info("Compiling %s" % summary_string)
384384

385385
if cmake:
386-
build_command_seq = ["mbed-tools configure -t {} -m {}".format(toolchain,target), "cmake -S . -B CMAKE_BUILD -GNinja", "cmake --build CMAKE_BUILD"]
386+
build_command_seq = ["mbed-tools build -t {} -m {} -c".format(toolchain, target)]
387387
else:
388388
build_command_seq = ["mbed-cli compile -t {} -m {} -j {} {}".format(toolchain, target, str(jobs), '-vv' if verbose else '') ]
389389
if profiles:

0 commit comments

Comments
 (0)