[PATCH v2 14/23] travis/gitlab/azure: Drop BUILDMAN variable with test.py

Tom Rini trini at konsulko.com
Tue Mar 17 17:42:23 CET 2020


On Tue, Mar 17, 2020 at 10:29:42AM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On Mon, 16 Mar 2020 at 15:16, Tom Rini <trini at konsulko.com> wrote:
> >
> > On Sun, Mar 15, 2020 at 05:42:54PM -0600, Simon Glass wrote:
> >
> > > This is not needed in the test.py part of the config, now since we use the
> > > same name as the pytests.
> > >
> > > Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e.
> > > where we build multiple boards and don't run any tests.
> > >
> > > Signed-off-by: Simon Glass <sjg at chromium.org>
> > [snip]
> > > diff --git a/.travis.yml b/.travis.yml
> > > index 3149ed6a15..42a3923565 100644
> > > --- a/.travis.yml
> > > +++ b/.travis.yml
> > > @@ -119,7 +119,7 @@ script:
> > >   # From buildman, exit code 129 means warnings only.  If we've been asked to
> > >   # use clang only do one configuration.
> > >   # Build a selection of boards if TEST_PY_BD is empty
> > > - - if [[ "${BUILDMAN}" != "" ]] && [[ "${TEST_PY_BD}" == "" ]]; then
> > > + - if [[ "${BUILDMAN}" != "" ]]; then
> > >       ret=0;
> > >       tools/buildman/buildman -P -E ${BUILDMAN} ${OVERRIDE}|| ret=$?;
> > >       if [[ $ret -ne 0 && $ret -ne 129 ]]; then
> >
> > This looks wrong.  We don't set BUILDMAN anymore anywhere, right?  So
> > shouldn't this just be the test for TEST_PY_BD is empty?  Thanks!
> 
> BUILDMAN is still set for the non-test builds, i.e. when we build a
> lot of boards and don't run any tests.
> 
> It is empty of the test build, but still used.

Ah, OK, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200317/a9b3e39e/attachment.sig>


More information about the U-Boot mailing list