diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 11 |
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): |