summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2011-01-01 14:36:38 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:49 +0000
commit2b7c2a842092fcec1389bc234bec2ef8c3c5973a (patch)
tree9c4db1f0be4f189376a95ea14616ab530cf5b68c /bitbake/lib/bb/ui
parentfcba92f3548b5fd3f4073a5d100660e9e79a67ac (diff)
downloadpoky-2b7c2a842092fcec1389bc234bec2ef8c3c5973a.tar.gz
bitbake: Transfer noexec runqueue messages to the UI
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/knotty.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index b97c5a1b5e..9f3ec41b5c 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -193,9 +193,16 @@ def main(server, eventHandler):
193 continue 193 continue
194 194
195 if isinstance(event, bb.runqueue.runQueueTaskStarted): 195 if isinstance(event, bb.runqueue.runQueueTaskStarted):
196 logger.info("Running task %s of %s (ID: %s, %s)", 196 if event.noexec:
197 event.stats.completed + event.stats.active + event.stats.failed + 1, 197 tasktype = 'noexec task'
198 else:
199 tasktype = 'task'
200 logger.info("Running %s %s of %s (ID: %s, %s)",
201 tasktype,
202 event.stats.completed + event.stats.active +
203 event.stats.failed + 1,
198 event.stats.total, event.taskid, event.taskstring) 204 event.stats.total, event.taskid, event.taskstring)
205
199 continue 206 continue
200 207
201 if isinstance(event, bb.runqueue.runQueueTaskFailed): 208 if isinstance(event, bb.runqueue.runQueueTaskFailed):