From fcba92f3548b5fd3f4073a5d100660e9e79a67ac Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Mon, 6 Dec 2010 14:58:55 -0700 Subject: Move the runq task start/failed messages to the UI (Bitbake rev: ab831e867f09b47001cb8da2f8f060e04febf237) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bitbake/lib/bb/ui') diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index d3534a0f5..b97c5a1b5 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -192,6 +192,17 @@ def main(server, eventHandler): logger.error("Nothing %sPROVIDES '%s'", r, event._item) 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, + event.stats.total, event.taskid, event.taskstring) + continue + + if isinstance(event, bb.runqueue.runQueueTaskFailed): + logger.error("Task %s (%s) failed with exit code '%s'", + event.taskid, event.taskstring, event.exitcode) + continue + # ignore if isinstance(event, (bb.event.BuildBase, bb.event.StampUpdate, -- cgit v1.2.3