TEST: use mbed-tools build wrapper replace cmake build commands

pull/13566/head
Qinghao Shi 2020-10-29 17:15:01 +00:00 committed by Hugues Kamba
parent 3558a7aa0e
commit bf552af039
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ def compile_repos(config, toolchains, targets, profiles, verbose, exp_filter, cm
logging.info("Compiling %s" % summary_string)
if cmake:
build_command_seq = ["mbed-tools configure -t {} -m {}".format(toolchain,target), "cmake -S . -B CMAKE_BUILD -GNinja", "cmake --build CMAKE_BUILD"]
build_command_seq = ["mbed-tools build -t {} -m {} -c".format(toolchain, target)]
else:
build_command_seq = ["mbed-cli compile -t {} -m {} -j {} {}".format(toolchain, target, str(jobs), '-vv' if verbose else '') ]
if profiles: