summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/uihelper.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py
index 4116dabf94..03fac593bd 100644
--- a/bitbake/lib/bb/ui/uihelper.py
+++ b/bitbake/lib/bb/ui/uihelper.py
@@ -32,8 +32,13 @@ class BBUIHelper:
32 if isinstance(event, bb.build.TaskSucceeded): 32 if isinstance(event, bb.build.TaskSucceeded):
33 del self.running_tasks[event.pid] 33 del self.running_tasks[event.pid]
34 self.needUpdate = True 34 self.needUpdate = True
35 if isinstance(event, bb.build.TaskFailed) or isinstance(event, bb.build.TaskFailedSilent): 35 if isinstance(event, bb.build.TaskFailedSilent):
36 del self.running_tasks[event.pid] 36 del self.running_tasks[event.pid]
37 # Don't add to the failed tasks list since this is e.g. a setscene task failure
38 self.needUpdate = True
39 if isinstance(event, bb.build.TaskFailed):
40 del self.running_tasks[event.pid]
41 self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)})
37 self.needUpdate = True 42 self.needUpdate = True
38 43
39 def getTasks(self): 44 def getTasks(self):