summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-13 17:01:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-15 10:06:23 +0000
commit684c6ef2d08ad503ce68ac3cc273f1b6a8a56ac7 (patch)
treecdd01d0f277ac8f47b30882a31fe68304967834f /bitbake/lib/bb/cooker.py
parent9fd17bbe1ca3894437a16a625e05334dc97c5273 (diff)
downloadpoky-684c6ef2d08ad503ce68ac3cc273f1b6a8a56ac7.tar.gz
bitbake/knotty: print task failure summary
Remove the error logged within cooker summarising the list of failed tasks, and instead print this in the UI (knotty) where it belongs. This also adds the actual name of the task that failed as well as the corresponding recipe file that was being shown previously. In addition, reformat the summary messages more tidily - no extra breaks between lines and use correct English singular/plurals, with some allowance for future translation. (Bitbake rev: cdf69913f99d28bc7f51067a60257701f952c6cb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 6041410575..4197a02314 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1065,8 +1065,6 @@ class BBCooker:
1065 try: 1065 try:
1066 retval = rq.execute_runqueue() 1066 retval = rq.execute_runqueue()
1067 except runqueue.TaskFailure as exc: 1067 except runqueue.TaskFailure as exc:
1068 for fnid in exc.args:
1069 buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
1070 failures += len(exc.args) 1068 failures += len(exc.args)
1071 retval = False 1069 retval = False
1072 except SystemExit as exc: 1070 except SystemExit as exc:
@@ -1106,8 +1104,6 @@ class BBCooker:
1106 try: 1104 try:
1107 retval = rq.execute_runqueue() 1105 retval = rq.execute_runqueue()
1108 except runqueue.TaskFailure as exc: 1106 except runqueue.TaskFailure as exc:
1109 for fnid in exc.args:
1110 buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
1111 failures += len(exc.args) 1107 failures += len(exc.args)
1112 retval = False 1108 retval = False
1113 except SystemExit as exc: 1109 except SystemExit as exc: