From b7b63f6ba8b9ba99193573a1ba03736765f559e5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 6 Nov 2010 14:33:05 +0000 Subject: Add support for 'noexec' tasks Signed-off-by: Richard Purdie --- lib/bb/ui/knotty.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/bb/ui/knotty.py') diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 0735f25dc..bebfa8a94 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -195,8 +195,14 @@ 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 -- cgit 1.2.3-korg