tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS'

When using 'check_PROGRAMS', autoconf/automake generates smarter
Makefiles, so that the test programs are not being compiled during
the normal 'make all', but only during 'make check'.

Change-Id: I62a7b4d76c910b3fa90deb0d35a8fc36146d66e6
This commit is contained in:
Vadim Yanitskiy 2022-11-21 17:56:11 +07:00 committed by laforge
parent 7b3927c77d
commit c3a6ef446b
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ AM_CFLAGS = \
$(LIBOSMOCORE_CFLAGS) \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
gtlv_test \
gtlv_dec_enc_test \
$(NULL)

View File

@ -9,7 +9,7 @@ AM_CFLAGS = \
$(LIBOSMOCORE_CFLAGS) \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
gen__myproto_ies_auto \
gtlv_gen_test \
$(NULL)

View File

@ -9,7 +9,7 @@ AM_CFLAGS = \
$(LIBOSMOCORE_CFLAGS) \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
gen__myproto_ies_auto \
tliv_test \
$(NULL)

View File

@ -9,7 +9,7 @@ AM_CFLAGS = \
$(LIBOSMOCORE_CFLAGS) \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
pfcp_test \
$(NULL)