[PATCH xserver] tests: Build test programs only when testing

Adam Jackson ajax at nwnk.net
Tue Dec 13 17:00:29 UTC 2016


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.

- ajax


More information about the xorg-devel mailing list