summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-21 14:14:23 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:38 +0000
commit493f0cff713624957dbdb4a336d586cf9dd6ca4a (patch)
treee6bfae231a551869cfacdc64cbaa85affe7f1900 /bitbake/lib/bb/cooker.py
parent283b0a20c2a9bfa27966e10f40669cbe904b7080 (diff)
downloadpoky-493f0cff713624957dbdb4a336d586cf9dd6ca4a.tar.gz
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. (Bitbake rev: 850d6158ea9daa58e896fd6b258d586df797dcf4) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 90366cd76c..33b9201e6f 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -692,6 +692,8 @@ class BBCooker:
692 try: 692 try:
693 retval = rq.execute_runqueue() 693 retval = rq.execute_runqueue()
694 except runqueue.TaskFailure as exc: 694 except runqueue.TaskFailure as exc:
695 for fnid in exc.args:
696 buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
695 failures += len(exc.args) 697 failures += len(exc.args)
696 retval = False 698 retval = False
697 if not retval: 699 if not retval:
@@ -727,6 +729,8 @@ class BBCooker:
727 try: 729 try:
728 retval = rq.execute_runqueue() 730 retval = rq.execute_runqueue()
729 except runqueue.TaskFailure as exc: 731 except runqueue.TaskFailure as exc:
732 for fnid in exc.args:
733 buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
730 failures += len(exc.args) 734 failures += len(exc.args)
731 retval = False 735 retval = False
732 if not retval: 736 if not retval: