[PATCH] D65156: [lit] Protect full test suite from FILECHECK_OPTS

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 08:56:18 PDT 2019


> We have had an internal bot get 9 failures in the lit test suite
> since this patch went in; I will see if the suggested patches help.
> --paulr

They don't help.  It appears the gnuwin32 'env' does understand -u so
that wasn't the problem.

Picking apart 'googletest-format.py' and doing the steps manually,
so that I can get FileCheck to tell me what's going on, it appears
that the .out file generated by the test has an extra line terminator,
so a CHECK-NEXT on the .out file fails.

If I hack the lit.cfg so it's just 'env %{python} etc' (not trying
to set or unset) the same failure occurs; so, something about running
python or lit.py under GnuWin32 'env' is making this occur.

env version 5.3.0
python version 2.7.12 on Windows version 7
python version 2.7.14 on Windows version 10

--paulr

> 
> > -----Original Message-----
> > From: Michał Górny [mailto:mgorny at gentoo.org]
> > Sent: Friday, July 26, 2019 10:28 AM
> > To: Joel E. Denny;
> reviews+D65156+public+5784c7837e421597 at reviews.llvm.org
> > Cc: Robinson, Paul; Dan Liew; Thomas Preud'homme; LLVM Commits
> > Subject: Re: [PATCH] D65156: [lit] Protect full test suite from
> > FILECHECK_OPTS
> >
> > On Fri, 2019-07-26 at 10:17 -0400, Joel E. Denny wrote:
> > > Hi Michał,
> > >
> > > On Fri, Jul 26, 2019 at 10:12 AM Michał Górny via Phabricator <
> > > reviews at reviews.llvm.org> wrote:
> > >
> > > > mgorny added a comment.
> > > >
> > > > This change broke NetBSD buildbots, e.g.:
> > > > http://lab.llvm.org:8011/builders/netbsd-
> >
> amd64/builds/21152/steps/run%20unit%20tests/logs/FAIL%3A%20lit%3A%3A%20goo
> > gletest-upstream-format.py
> > >
> > > I didn't receive an automated email for this.  Should I have?
> > >
> >
> > To be honest, I don't really know.  The bot hasn't managed to get green
> > for quite some time already, and I don't know if it pings you if there
> > is a constant breakage.
> >
> > --
> > Best regards,
> > Michał Górny



More information about the llvm-commits mailing list