1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

Move the runq task start/failed messages to the UI

(Bitbake rev: ab831e867f09b47001cb8da2f8f060e04febf237)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson
2010-12-06 14:58:55 -07:00
committed by Richard Purdie
parent 23735bb765
commit fcba92f354
2 changed files with 15 additions and 11 deletions
+11
View File
@@ -192,6 +192,17 @@ def main(server, eventHandler):
logger.error("Nothing %sPROVIDES '%s'", r, event._item)
continue
if isinstance(event, bb.runqueue.runQueueTaskStarted):
logger.info("Running task %s of %s (ID: %s, %s)",
event.stats.completed + event.stats.active + event.stats.failed + 1,
event.stats.total, event.taskid, event.taskstring)
continue
if isinstance(event, bb.runqueue.runQueueTaskFailed):
logger.error("Task %s (%s) failed with exit code '%s'",
event.taskid, event.taskstring, event.exitcode)
continue
# ignore
if isinstance(event, (bb.event.BuildBase,
bb.event.StampUpdate,