fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/27782 )
Change subject: tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' ......................................................................
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 --- M tests/gtp/Makefile.am M tests/lib/Makefile.am 2 files changed, 2 insertions(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/tests/gtp/Makefile.am b/tests/gtp/Makefile.am index fa0fb0b..3dce716 100644 --- a/tests/gtp/Makefile.am +++ b/tests/gtp/Makefile.am @@ -5,7 +5,7 @@ queue_test.ok \ $(NULL)
-noinst_PROGRAMS = \ +check_PROGRAMS = \ gtpie_test \ queue_test \ $(NULL) diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am index ee46468..03a5d99 100644 --- a/tests/lib/Makefile.am +++ b/tests/lib/Makefile.am @@ -7,7 +7,7 @@ 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 \