compiling tests during make

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Wed Jul 12 13:17:13 UTC 2017


On Tue, Jul 11, 2017 at 03:36:01PM +0200, Max wrote:
> Hi.
> 
> I've noticed that we do not use check_PROGRAMS in any of our Makefile.am (happy to be
> corrected :) so all the tests/ binaries are built during "make" step instead of "make
> check".
> 
> Is this intentional? If so - why? Is this smth we'd rather fix?

I remember at least sometimes having binaries built only during 'make check'
... there are some check_PROGRAMS around our repositories. I personally don't
care much either way; having test binaries built during 'make' forces me to fix
the test builds along right away, not only when I remember to run 'make check',
which can be helpful or get in the way depending on the situation. We can
change to use check_PROGRAMS everywhere, but there are other more important
things to care about (unless there are packaging / release implications).

~N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170712/62234b5b/attachment.bin>


More information about the OpenBSC mailing list