|
77 | 77 | from tools.utils import argparse_lowercase_type
|
78 | 78 | from tools.utils import argparse_many
|
79 | 79 | from tools.notifier.mock import MockNotifier
|
| 80 | +from tools.notifier.term import TerminalNotifier |
80 | 81 |
|
81 | 82 | import tools.host_tests.host_tests_plugins as host_tests_plugins
|
82 | 83 |
|
@@ -387,7 +388,8 @@ def execute_thread_slice(self, q, target, toolchains, clean, test_ids, build_rep
|
387 | 388 | jobs=self.opts_jobs,
|
388 | 389 | report=build_report,
|
389 | 390 | properties=build_properties,
|
390 |
| - build_profile=profile) |
| 391 | + build_profile=profile, |
| 392 | + notify=TerminalNotifier()) |
391 | 393 |
|
392 | 394 | if not build_mbed_libs_result:
|
393 | 395 | print(self.logger.log_line(
|
@@ -468,7 +470,8 @@ def execute_thread_slice(self, q, target, toolchains, clean, test_ids, build_rep
|
468 | 470 | jobs=self.opts_jobs,
|
469 | 471 | report=build_report,
|
470 | 472 | properties=build_properties,
|
471 |
| - build_profile=profile) |
| 473 | + build_profile=profile, |
| 474 | + notify=TerminalNotifier()) |
472 | 475 |
|
473 | 476 | except ToolException:
|
474 | 477 | print(self.logger.log_line(
|
@@ -507,13 +510,16 @@ def execute_thread_slice(self, q, target, toolchains, clean, test_ids, build_rep
|
507 | 510 |
|
508 | 511 | project_name = self.opts_firmware_global_name if self.opts_firmware_global_name else None
|
509 | 512 | try:
|
510 |
| - path = build_project(test.source_dir, join(build_dir, test_id), T, |
| 513 | + path = build_project( |
| 514 | + test.source_dir, join(build_dir, test_id), T, |
511 | 515 | toolchain, test.dependencies, clean=clean_project_options,
|
512 | 516 | verbose=self.opts_verbose, name=project_name, macros=MACROS,
|
513 | 517 | inc_dirs=INC_DIRS, jobs=self.opts_jobs, report=build_report,
|
514 | 518 | properties=build_properties, project_id=test_id,
|
515 | 519 | project_description=test.get_description(),
|
516 |
| - build_profile=profile, stats_depth=stats_depth) |
| 520 | + build_profile=profile, stats_depth=stats_depth, |
| 521 | + notify=TerminalNotifier(), |
| 522 | + ) |
517 | 523 |
|
518 | 524 | except Exception as e:
|
519 | 525 | project_name_str = project_name if project_name is not None else test_id
|
|
0 commit comments