fixeria has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-pfcp refs/changes/50/30250/1
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)