summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-06 14:58:55 -0700
committerChris Larson <chris_larson@mentor.com>2010-12-13 12:34:37 -0700
commitab831e867f09b47001cb8da2f8f060e04febf237 (patch)
tree078ba993a345e154b244c8a06efd4402884945d3 /lib/bb/ui
parent9e7d7f7e5381c45fe54680e9e4000de54b3cb9ed (diff)
downloadbitbake-ab831e867f09b47001cb8da2f8f060e04febf237.tar.gz
Move the runq task start/failed messages to the UI
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/ui')
-rw-r--r--lib/bb/ui/knotty.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 8a7b2b760..8a077df2e 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -189,6 +189,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,