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
This commit is contained in:
Vadim Yanitskiy 2022-04-13 19:55:34 +03:00
parent 069dd16b67
commit 1c69fb0f14
2 changed files with 2 additions and 2 deletions

View File

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

View File

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