laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-pfcp/+/30250 )

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: I62a7b4d76c910b3fa90deb0d35a8fc36146d66e6
---
M tests/libosmo-gtlv/Makefile.am
M tests/libosmo-gtlv/test_gtlv_gen/Makefile.am
M tests/libosmo-gtlv/test_tliv/Makefile.am
M tests/libosmo-pfcp/Makefile.am
4 files changed, 4 insertions(+), 4 deletions(-)

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



diff --git a/tests/libosmo-gtlv/Makefile.am b/tests/libosmo-gtlv/Makefile.am
index 20721c0..d73f940 100644
--- a/tests/libosmo-gtlv/Makefile.am
+++ b/tests/libosmo-gtlv/Makefile.am
@@ -13,7 +13,7 @@
        $(LIBOSMOCORE_CFLAGS) \
        $(NULL)

-noinst_PROGRAMS = \
+check_PROGRAMS = \
        gtlv_test \
        gtlv_dec_enc_test \
        $(NULL)
diff --git a/tests/libosmo-gtlv/test_gtlv_gen/Makefile.am 
b/tests/libosmo-gtlv/test_gtlv_gen/Makefile.am
index e13e7b5..9f791fe 100644
--- a/tests/libosmo-gtlv/test_gtlv_gen/Makefile.am
+++ b/tests/libosmo-gtlv/test_gtlv_gen/Makefile.am
@@ -9,7 +9,7 @@
        $(LIBOSMOCORE_CFLAGS) \
        $(NULL)

-noinst_PROGRAMS = \
+check_PROGRAMS = \
        gen__myproto_ies_auto \
        gtlv_gen_test \
        $(NULL)
diff --git a/tests/libosmo-gtlv/test_tliv/Makefile.am 
b/tests/libosmo-gtlv/test_tliv/Makefile.am
index 458a410..5b7dd7c 100644
--- a/tests/libosmo-gtlv/test_tliv/Makefile.am
+++ b/tests/libosmo-gtlv/test_tliv/Makefile.am
@@ -9,7 +9,7 @@
        $(LIBOSMOCORE_CFLAGS) \
        $(NULL)

-noinst_PROGRAMS = \
+check_PROGRAMS = \
        gen__myproto_ies_auto \
        tliv_test \
        $(NULL)
diff --git a/tests/libosmo-pfcp/Makefile.am b/tests/libosmo-pfcp/Makefile.am
index 6f3eca1..b393d52 100644
--- a/tests/libosmo-pfcp/Makefile.am
+++ b/tests/libosmo-pfcp/Makefile.am
@@ -9,7 +9,7 @@
        $(LIBOSMOCORE_CFLAGS) \
        $(NULL)

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


--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/30250
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: I62a7b4d76c910b3fa90deb0d35a8fc36146d66e6
Gerrit-Change-Number: 30250
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-MessageType: merged

Reply via email to