[PATCH xserver] tests: Build test programs only when testing
Peter Hutterer
peter.hutterer at who-t.net
Tue Dec 13 21:14:52 UTC 2016
On Tue, Dec 13, 2016 at 12:00:29PM -0500, Adam Jackson wrote:
> On Tue, 2016-12-13 at 12:32 +1000, Peter Hutterer wrote:
> > On Sun, Dec 11, 2016 at 07:45:44AM +0500, Mihail Konev wrote:
> > > > > Signed-off-by: Mihail Konev <k.mvc at ya.ru>
> > > ---
> > > In case it is the [exact] opposite of the effect intended
> > > (test linking of test programs on every build),
> > > should then this be conditioned as a ./configure option?
> >
> > NAK, there's a reason we do that. If we only build them on testing, we're
> > quite likely to introduce build errors that no-one spots. This way even if
> > no-one runs the tests at least we know they build.
>
> Agreed, but linking them all every time is still irritatingly slow.
> Surely there's something we can do to make that faster.
any speedup if you move them all into the same binary?
Cheers,
Peter
More information about the xorg-devel
mailing list