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: I13b519e61ca0d9ce038e8c989ddac012de4a6c61
---
M tests/db_sms/Makefile.am
M tests/mncc/Makefile.am
M tests/msc_vlr/Makefile.am
M tests/sdp_msg/Makefile.am
M tests/smpp/Makefile.am
M tests/sms_queue/Makefile.am
6 files changed, 6 insertions(+), 6 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/85/27785/1
diff --git a/tests/db_sms/Makefile.am b/tests/db_sms/Makefile.am
index 4e85067..52fd35e 100644
--- a/tests/db_sms/Makefile.am
+++ b/tests/db_sms/Makefile.am
@@ -24,7 +24,7 @@
db_sms_test.err \
$(NULL)

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

diff --git a/tests/mncc/Makefile.am b/tests/mncc/Makefile.am
index ae859ab..b836fe3 100644
--- a/tests/mncc/Makefile.am
+++ b/tests/mncc/Makefile.am
@@ -19,7 +19,7 @@
mncc_test.err \
$(NULL)

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

diff --git a/tests/msc_vlr/Makefile.am b/tests/msc_vlr/Makefile.am
index 0e15036..a84ea3f 100644
--- a/tests/msc_vlr/Makefile.am
+++ b/tests/msc_vlr/Makefile.am
@@ -76,7 +76,7 @@
msc_vlr_test_ss.err \
$(NULL)

-noinst_PROGRAMS = \
+check_PROGRAMS = \
msc_vlr_test_no_authen \
msc_vlr_test_gsm_authen \
msc_vlr_test_gsm_ciph \
diff --git a/tests/sdp_msg/Makefile.am b/tests/sdp_msg/Makefile.am
index 7d8def9..a2e5fbc 100644
--- a/tests/sdp_msg/Makefile.am
+++ b/tests/sdp_msg/Makefile.am
@@ -19,7 +19,7 @@
sdp_msg_test.err \
$(NULL)

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

diff --git a/tests/smpp/Makefile.am b/tests/smpp/Makefile.am
index 8d63119..00090da 100644
--- a/tests/smpp/Makefile.am
+++ b/tests/smpp/Makefile.am
@@ -24,7 +24,7 @@
smpp_test.err \
$(NULL)

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

diff --git a/tests/sms_queue/Makefile.am b/tests/sms_queue/Makefile.am
index 80189c7..a739101 100644
--- a/tests/sms_queue/Makefile.am
+++ b/tests/sms_queue/Makefile.am
@@ -22,7 +22,7 @@
sms_queue_test.err \
$(NULL)

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


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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I13b519e61ca0d9ce038e8c989ddac012de4a6c61
Gerrit-Change-Number: 27785
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: newchange