summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index fd17edcc58..b50ed0553f 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -714,6 +714,9 @@ class Tinfoil:
714 eventmask.extend(extra_events) 714 eventmask.extend(extra_events)
715 ret = self.set_event_mask(eventmask) 715 ret = self.set_event_mask(eventmask)
716 716
717 includelogs = self.config_data.getVar('BBINCLUDELOGS')
718 loglines = self.config_data.getVar('BBINCLUDELOGS_LINES')
719
717 ret = self.run_command('buildTargets', targets, task) 720 ret = self.run_command('buildTargets', targets, task)
718 if handle_events: 721 if handle_events:
719 result = False 722 result = False
@@ -743,6 +746,10 @@ class Tinfoil:
743 if event_callback and event_callback(event): 746 if event_callback and event_callback(event):
744 continue 747 continue
745 if helper.eventHandler(event): 748 if helper.eventHandler(event):
749 if isinstance(event, bb.build.TaskFailedSilent):
750 logger.warning("Logfile for failed setscene task is %s" % event.logfile)
751 elif isinstance(event, bb.build.TaskFailed):
752 bb.ui.knotty.print_event_log(event, includelogs, loglines, termfilter)
746 continue 753 continue
747 if isinstance(event, bb.event.ProcessStarted): 754 if isinstance(event, bb.event.ProcessStarted):
748 if self.quiet > 1: 755 if self.quiet > 1: