On Thu, Apr 04, 2019 at 12:10:31PM -0700, Felix Lechner wrote:
> On Thu, Apr 4, 2019 at 10:42 AM Chris Lamb <la...@debian.org> wrote:
> >
> >  * I'm not sure *how* we can speed up the tests. I mean, they all
> >    essentially involve building Debian packages with all the usual
> >    debhelper calls, etc. Speeding *this* up is somewhat out-of-scope
> >    of this Lintian wishlist issue, alas.
> >
> > However, perhaps Felix has some input here as he has been doing a lot
> > of work on the test suite recently?
> 
> About 95% of the time is spent building packages, even though they
> almost never change. The tests would run much faster if we shipped
> pre-built packages. One way to accomplish that would be to package the
> tests separately.

Yep, that'd be the way to go IMO. You aren't trying to test
dpkg-buildpackage or parts of the package-building toolchain - you're
trying to test Lintian, which operates on the results of that. Shunting
this part to a one-time operation would be eminently sensible.

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.

Cheers,

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

Attachment: signature.asc
Description: PGP signature

Reply via email to