From 850d6158ea9daa58e896fd6b258d586df797dcf4 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 21 Oct 2010 14:14:23 -0700 Subject: Resurrect display of failed files This was inadvertantly removed when trying to reduce the amount of duplicated information the user sees when a failure occurs. Signed-off-by: Chris Larson --- lib/bb/cooker.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/bb/cooker.py') diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index ea97c64c2..2281600d5 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -679,6 +679,8 @@ class BBCooker: try: retval = rq.execute_runqueue() except runqueue.TaskFailure as exc: + for fnid in exc.args: + buildlog.error("'%s' failed" % taskdata.fn_index[fnid]) failures += len(exc.args) retval = False if not retval: @@ -713,6 +715,8 @@ class BBCooker: try: retval = rq.execute_runqueue() except runqueue.TaskFailure as exc: + for fnid in exc.args: + buildlog.error("'%s' failed" % taskdata.fn_index[fnid]) failures += len(exc.args) retval = False if not retval: -- cgit 1.2.3-korg