[U-Boot] [U-Boot, v10, 11/14] buildman: Add an option to show which boards caused which errors

Simon Glass sjg at chromium.org
Tue Sep 2 21:17:41 CEST 2014


Hi Tom,

On 2 September 2014 06:36, Tom Rini <trini at ti.com> wrote:
>
> On Thu, Aug 28, 2014 at 09:43:43AM -0600, Simon Glass wrote:
>
> > 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:
> [snip]
> > diff --git a/tools/buildman/README b/tools/buildman/README
> > index b8c2bd6..fbc8449 100644
> > --- a/tools/buildman/README
> > +++ b/tools/buildman/README
> [snip]
> >  If you really want to see build results as they happen, use -v when doing a
> > -build (and -e if you want to see errors as well).
> > +build (-e will be enabled automatically).
>
> OK, so here is my confusion.  I didn't get from the help that -s implies
> -v.  If I do:
> -s -v -e -l
> I get a verbose summary with per-board warning/error information.  If I
> do:
> -s -v -l
> I don't get that information.  If I follow what you're saying and the
> help right, I should do:
> $ export COMMON="-b master -c 1 -T 1 -j 24 -o /tmp/trini/eldk521 -G ~/.buildman.eldk521"
> $ ./tools/buildman/buildman $COMMON 'arm|powerpc'
> $ ./tools/buildman/buildman $COMMON 'arm|powerpc' -s
>
> And that should give me errors as well as which boards gave which?

I don't think that's quite right. There are two completely separate
modes for buildman:

building (no -s)
not building (-s)

I added the -v feature to let you see build results while building. So
-v only applies to the 'building' mode, and implies -e.

For the 'not building' mode, you get a basic summary for free, and can
tell buildman all sorts of things you want to see - like errors (-e)
sizes (-S) function bloat (-B) and list of broken boards (-l)

Regards,
Simon


More information about the U-Boot mailing list