fixeria submitted this change.

View Change

Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
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: I70cf75b3cb6ae59c92248cc529546750fb0da07b
---
M tests/auc/Makefile.am
M tests/gsup/Makefile.am
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/auc/Makefile.am b/tests/auc/Makefile.am
index 9b65d71..5ae133b 100644
--- a/tests/auc/Makefile.am
+++ b/tests/auc/Makefile.am
@@ -23,9 +23,7 @@
auc_ts_55_205_test_sets.err \
$(NULL)

-check_PROGRAMS = auc_ts_55_205_test_sets
-
-noinst_PROGRAMS = auc_test
+check_PROGRAMS = auc_test auc_ts_55_205_test_sets

auc_test_SOURCES = \
auc_test.c \
diff --git a/tests/gsup/Makefile.am b/tests/gsup/Makefile.am
index 5dbb180..9a10597 100644
--- a/tests/gsup/Makefile.am
+++ b/tests/gsup/Makefile.am
@@ -17,7 +17,7 @@
gsup_test.err \
$(NULL)

-noinst_PROGRAMS = \
+check_PROGRAMS = \
gsup_test \
$(NULL)


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

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I70cf75b3cb6ae59c92248cc529546750fb0da07b
Gerrit-Change-Number: 27783
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged