fixeria has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/82/27782/1
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 \

To view, visit change 27782. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ia8b8dade0056c51d2dd1d814a89d1de064597344
Gerrit-Change-Number: 27782
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: newchange