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: Ia8b8dade0056c51d2dd1d814a89d1de064597344
This commit is contained in:
Vadim Yanitskiy 2022-04-13 19:55:33 +03:00
parent 5545bcea5d
commit cd05da79e7
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ EXTRA_DIST = \
queue_test.ok \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
gtpie_test \
queue_test \
$(NULL)

View File

@ -7,7 +7,7 @@ EXTRA_DIST = ippool_test.ok \
in46a_test.ok \
in46a_v6_test.ok
noinst_PROGRAMS = ippool_test in46a_test
check_PROGRAMS = ippool_test in46a_test
ippool_test_SOURCES = \
ippool_test.c \