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
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 \