Use Notifier API when building mbed2

pull/7132/head
Jimmy Brisson 2018-06-05 13:26:04 -05:00
parent 74aec930e6
commit 18bdf562af
1 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ from tools.test_api import SingleTestRunner
from tools.test_api import singletest_in_cli_mode
from tools.paths import TEST_DIR, MBED_LIBRARIES
from tools.tests import TEST_MAP
from tools.notifier.term import TerminalNotifier
OFFICIAL_MBED_LIBRARY_BUILD = get_mbed_official_release('2')
@ -168,11 +169,12 @@ if __name__ == '__main__':
id = "%s::%s" % (target_name, toolchain)
profile = extract_profile(parser, options, toolchain)
notify = TerminalNotifier(options.verbose)
try:
built_mbed_lib = build_mbed_libs(TARGET_MAP[target_name],
toolchain,
verbose=options.verbose,
notify=notify,
jobs=options.jobs,
report=build_report,
properties=build_properties,