aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-04-13 19:55:33 +0300
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-04-13 19:55:33 +0300
commitcd05da79e76f4112b933932e7b365df10366d721 (patch)
tree7991f481dcadc3452eef64fb3123305c21f895ed
parent5545bcea5d20a2eb8121d737f29df3ffa11559c4 (diff)
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
-rw-r--r--tests/gtp/Makefile.am2
-rw-r--r--tests/lib/Makefile.am2
2 files changed, 2 insertions, 2 deletions
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 @@ EXTRA_DIST = \
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 @@ 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 \