diff options
| author | Chris Larson <chris_larson@mentor.com> | 2010-12-06 14:58:55 -0700 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:49 +0000 |
| commit | fcba92f3548b5fd3f4073a5d100660e9e79a67ac (patch) | |
| tree | 2deab36a2e216bea350eb99e522e02f793e5ca67 /bitbake/lib/bb/ui/knotty.py | |
| parent | 23735bb765216b7a6086bc700d32d338f7649cc6 (diff) | |
| download | poky-fcba92f3548b5fd3f4073a5d100660e9e79a67ac.tar.gz | |
Move the runq task start/failed messages to the UI
(Bitbake rev: ab831e867f09b47001cb8da2f8f060e04febf237)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
| -rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index d3534a0f5b..b97c5a1b5e 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
| @@ -192,6 +192,17 @@ def main(server, eventHandler): | |||
| 192 | logger.error("Nothing %sPROVIDES '%s'", r, event._item) | 192 | logger.error("Nothing %sPROVIDES '%s'", r, event._item) |
| 193 | continue | 193 | continue |
| 194 | 194 | ||
| 195 | if isinstance(event, bb.runqueue.runQueueTaskStarted): | ||
| 196 | logger.info("Running task %s of %s (ID: %s, %s)", | ||
| 197 | event.stats.completed + event.stats.active + event.stats.failed + 1, | ||
| 198 | event.stats.total, event.taskid, event.taskstring) | ||
| 199 | continue | ||
| 200 | |||
| 201 | if isinstance(event, bb.runqueue.runQueueTaskFailed): | ||
| 202 | logger.error("Task %s (%s) failed with exit code '%s'", | ||
| 203 | event.taskid, event.taskstring, event.exitcode) | ||
| 204 | continue | ||
| 205 | |||
| 195 | # ignore | 206 | # ignore |
| 196 | if isinstance(event, (bb.event.BuildBase, | 207 | if isinstance(event, (bb.event.BuildBase, |
| 197 | bb.event.StampUpdate, | 208 | bb.event.StampUpdate, |
