fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/27780 )

Change subject: tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS'
......................................................................

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: I030c88545cdc71b3ad9e83f9c2ba7b27177c2ac8
---
M tests/abis/Makefile.am
M tests/acc/Makefile.am
M tests/bsc/Makefile.am
M tests/codec_pref/Makefile.am
M tests/gsm0408/Makefile.am
M tests/handover/Makefile.am
M tests/nanobts_omlattr/Makefile.am
M tests/subscr/Makefile.am
8 files changed, 8 insertions(+), 8 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/tests/abis/Makefile.am b/tests/abis/Makefile.am
index 5abbf77..2fa6b30 100644
--- a/tests/abis/Makefile.am
+++ b/tests/abis/Makefile.am
@@ -16,7 +16,7 @@
        abis_test.ok \
        $(NULL)

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

diff --git a/tests/acc/Makefile.am b/tests/acc/Makefile.am
index 0c7fe0c..2c41666 100644
--- a/tests/acc/Makefile.am
+++ b/tests/acc/Makefile.am
@@ -16,7 +16,7 @@
        acc_test.ok \
        $(NULL)

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

diff --git a/tests/bsc/Makefile.am b/tests/bsc/Makefile.am
index 94b606c..8fcda3a 100644
--- a/tests/bsc/Makefile.am
+++ b/tests/bsc/Makefile.am
@@ -25,7 +25,7 @@
        bsc_test.ok \
        $(NULL)

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

diff --git a/tests/codec_pref/Makefile.am b/tests/codec_pref/Makefile.am
index 3bdd1fa..b16f282 100644
--- a/tests/codec_pref/Makefile.am
+++ b/tests/codec_pref/Makefile.am
@@ -18,7 +18,7 @@
        codec_pref_test.ok \
        $(NULL)

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

diff --git a/tests/gsm0408/Makefile.am b/tests/gsm0408/Makefile.am
index 320f7de..e078610 100644
--- a/tests/gsm0408/Makefile.am
+++ b/tests/gsm0408/Makefile.am
@@ -11,7 +11,7 @@
        $(LIBOSMOABIS_CFLAGS) \
        $(NULL)

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

diff --git a/tests/handover/Makefile.am b/tests/handover/Makefile.am
index bfd64b0..123fd61 100644
--- a/tests/handover/Makefile.am
+++ b/tests/handover/Makefile.am
@@ -26,7 +26,7 @@
        $(srcdir)/test*.ho_vty \
        $(NULL)

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

diff --git a/tests/nanobts_omlattr/Makefile.am 
b/tests/nanobts_omlattr/Makefile.am
index b5d1d7a..9b16a3c 100644
--- a/tests/nanobts_omlattr/Makefile.am
+++ b/tests/nanobts_omlattr/Makefile.am
@@ -10,7 +10,7 @@
        $(LIBOSMOABIS_CFLAGS) \
        $(NULL)

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

diff --git a/tests/subscr/Makefile.am b/tests/subscr/Makefile.am
index fef486a..329b6c0 100644
--- a/tests/subscr/Makefile.am
+++ b/tests/subscr/Makefile.am
@@ -22,7 +22,7 @@
        bsc_subscr_test.err \
        $(NULL)

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


--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/27780
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I030c88545cdc71b3ad9e83f9c2ba7b27177c2ac8
Gerrit-Change-Number: 27780
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to