From 2b7c2a842092fcec1389bc234bec2ef8c3c5973a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 1 Jan 2011 14:36:38 +0000 Subject: bitbake: Transfer noexec runqueue messages to the UI Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/ui') diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index b97c5a1b5..9f3ec41b5 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -193,9 +193,16 @@ def main(server, eventHandler): 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, + if event.noexec: + tasktype = 'noexec task' + else: + tasktype = 'task' + logger.info("Running %s %s of %s (ID: %s, %s)", + tasktype, + event.stats.completed + event.stats.active + + event.stats.failed + 1, event.stats.total, event.taskid, event.taskstring) + continue if isinstance(event, bb.runqueue.runQueueTaskFailed): -- cgit v1.2.3