[libvirt] [PATCH 1/4] travis: add a scenario for running make distcheck
Andrea Bolognani
abologna at redhat.com
Tue Feb 27 15:35:32 UTC 2018
On Tue, 2018-02-27 at 15:06 +0000, Daniel P. Berrangé wrote:
> > > - compiler: gcc
> > > dist: precise
> > > + # Special scenario to run distcheck, so we don't waste time duplicating
> > > + # work in all the other scenarios. Doesn't work on precise due to the
> > > + # CVE-2012-3386 flaw being present on that Ubuntu version
> > > - compiler: gcc
> > > dist: trusty
> > > + script:
> > > + - make -j3 distcheck
> >
> > This will override the default script, and make it so the
> > precise/gcc build only runs distcheck rather than the usual all,
> > check, syntax-check. So we need something else.
>
> Yes, that's intentional and not a problem IMHO.
>
> 'check' is run as part of 'distcheck' so that's a non-issue.
>
> Running syntax-check in all 5 scenarios isn't buying us anything,
> as the syntax-check rules don't depend on what is installed in the
> host. IOW, running syntax-check in 1 scenario is sufficient to get
> us the coverage we need.
Okay, fair enough. The change still "obfuscates" the Travis
configuration though, because now you can't just look at a single
script entry but you have to explode the matrix in your head and
convince yourself you're covering all bases, so I'm not too happy
with it.
Moreover, there was a whole thing about just dropping support for
precise (as Canonical already did) and making our lives easier
later in the mail, but you snipped it without replying...
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list