[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926409: lintian: autopkgtest takes very long to finish



On Wed, Jun 03, 2020 at 02:50:04AM +0200, Mattia Rizzolo wrote:
> On Wed, 3 Jun 2020, 1:09 am Felix Lechner, <felix.lechner@lease-up.com>
> ...
> > On Fri, Apr 5, 2019 at 4:33 AM Iain Lane <laney@debian.org> wrote:
> > >
> > > We do similar in some pkg-gnome packages, for example glib2.0 ships a
> > > -tests package that contains "installed tests" which are compiled as
> > > part of the package build and then executed during the autopkgtests.
> >
> > Should we ship all built test packages as part of our releases? I
> > can't think of a better way to close this bug.
> 
> 
> Now lintian autopkgtests take approximately 1 hour everywhere I checked.
> Honestly, I believe 1 hour to be acceptable.

It is broadly acceptable, but if you can reduce the time by assembling
artifacts in advance, I think that it is still worth doing to save time
and not repeat computation that doesn't need to be repeated.

As a bonus you're then not also testing the package build toolchain with
each Lintian CI run - you are (mostly) only testing Lintian itself.

Cheers,

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]

Attachment: signature.asc
Description: PGP signature


Reply to: