summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-06 14:33:05 +0000
committerChris Larson <chris_larson@mentor.com>2010-12-29 23:51:07 -0700
commitb7b63f6ba8b9ba99193573a1ba03736765f559e5 (patch)
treee4c3a9c64e299da055ecda1b0b52c5e164492426 /lib/bb/ui/knotty.py
parent189a5f29c7c775c0988eed2dad860b1f790ca409 (diff)
downloadbitbake-b7b63f6ba8b9ba99193573a1ba03736765f559e5.tar.gz
Add support for 'noexec' tasks
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r--lib/bb/ui/knotty.py10
1 files changed, 8 insertions, 2 deletions
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