summaryrefslogtreecommitdiffstats
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-28 09:43:43 -0600
committerSimon Glass <sjg@chromium.org>2014-09-05 13:40:43 -0600
commited9666573eb08b4d8f18855d9f62e22ba0316ee9 (patch)
tree8894296ee7aac2e2005f85dcf5ce48583ed04525 /tools/buildman/control.py
parent48c1b6a8ff9f539506f59bfe42590af0f92c8cb8 (diff)
downloadtalos-obmc-uboot-ed9666573eb08b4d8f18855d9f62e22ba0316ee9.tar.gz
talos-obmc-uboot-ed9666573eb08b4d8f18855d9f62e22ba0316ee9.zip
buildman: Add an option to show which boards caused which errors
Add a -l option to display a list of offending boards against each error/warning line. The information will be shown in brackets as below: 02: wip sandbox: + sandbox arm: + seaboard +(sandbox) arch/sandbox/cpu/cpu.c: In function 'timer_get_us': +(sandbox) arch/sandbox/cpu/cpu.c:40:9: warning: unused variable 'i' [-Wunused-variable] +(seaboard) board/nvidia/seaboard/seaboard.c: In function 'pin_mux_mmc': +(seaboard) board/nvidia/seaboard/seaboard.c:36:9: warning: unused variable 'fred' [-Wunused-variable] +(seaboard) int fred; +(seaboard) ^ Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/control.py')
-rw-r--r--tools/buildman/control.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index cb01158b60..06c9229fba 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -216,7 +216,8 @@ def DoBuildman(options, args):
options)
builder.SetDisplayOptions(options.show_errors, options.show_sizes,
- options.show_detail, options.show_bloat)
+ options.show_detail, options.show_bloat,
+ options.list_error_boards)
if options.summary:
# We can't show function sizes without board details at present
if options.show_bloat:
OpenPOWER on IntegriCloud