Browse Source

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: I938669a78b4afa808ca4f741aee9919944aeb7f6
changes/84/27784/1
Vadim Yanitskiy 3 months ago
parent
commit
1c69fb0f14
  1. 2
      tests/mgcp/Makefile.am
  2. 2
      tests/mgcp_client/Makefile.am

2
tests/mgcp/Makefile.am

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

2
tests/mgcp_client/Makefile.am

@ -22,7 +22,7 @@ EXTRA_DIST = \
mgcp_client_test.err \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
mgcp_client_test \
$(NULL)

Loading…
Cancel
Save