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: I8118ee3d3da9bdcd0c691471ef91b95dba21004a
changes/87/27787/1
Vadim Yanitskiy 8 months ago
parent 3c7656a481
commit 199f295d36
  1. 2
      tests/gprs/Makefile.am
  2. 2
      tests/gtphub/Makefile.am
  3. 2
      tests/sgsn/Makefile.am
  4. 2
      tests/slhc/Makefile.am
  5. 2
      tests/sndcp_xid/Makefile.am
  6. 2
      tests/v42bis/Makefile.am
  7. 2
      tests/xid/Makefile.am

@ -3,7 +3,7 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_
EXTRA_DIST = gprs_test.ok
noinst_PROGRAMS = gprs_test
check_PROGRAMS = gprs_test
gprs_test_SOURCES = gprs_test.c $(top_srcdir)/src/gprs/gprs_utils.c

@ -16,7 +16,7 @@ EXTRA_DIST = \
gtphub_test.ok \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
gtphub_test \
$(NULL)

@ -25,7 +25,7 @@ EXTRA_DIST = \
sgsn_test.ok \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
sgsn_test \
$(NULL)

@ -3,7 +3,7 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFL
EXTRA_DIST = slhc_test.ok
noinst_PROGRAMS = slhc_test
check_PROGRAMS = slhc_test
slhc_test_SOURCES = slhc_test.c

@ -3,7 +3,7 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFL
EXTRA_DIST = sndcp_xid_test.ok
noinst_PROGRAMS = sndcp_xid_test
check_PROGRAMS = sndcp_xid_test
sndcp_xid_test_SOURCES = sndcp_xid_test.c

@ -3,7 +3,7 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFL
EXTRA_DIST = v42bis_test.ok
noinst_PROGRAMS = v42bis_test
check_PROGRAMS = v42bis_test
v42bis_test_SOURCES = v42bis_test.c

@ -15,7 +15,7 @@ EXTRA_DIST = \
xid_test.ok \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
xid_test \
$(NULL)

Loading…
Cancel
Save