fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/27787 )
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: I8118ee3d3da9bdcd0c691471ef91b95dba21004a --- M tests/gprs/Makefile.am M tests/gtphub/Makefile.am M tests/sgsn/Makefile.am M tests/slhc/Makefile.am M tests/sndcp_xid/Makefile.am M tests/v42bis/Makefile.am M tests/xid/Makefile.am 7 files changed, 7 insertions(+), 7 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/tests/gprs/Makefile.am b/tests/gprs/Makefile.am index 902313f..f90fd6e 100644 --- a/tests/gprs/Makefile.am +++ b/tests/gprs/Makefile.am @@ -3,7 +3,7 @@
EXTRA_DIST = gprs_test.ok
-noinst_PROGRAMS = gprs_test +check_PROGRAMS = gprs_test
gprs_test_SOURCES = gprs_test.c $(top_srcdir)/src/gprs/gprs_utils.c
diff --git a/tests/gtphub/Makefile.am b/tests/gtphub/Makefile.am index fea01e0..6bb1a56 100644 --- a/tests/gtphub/Makefile.am +++ b/tests/gtphub/Makefile.am @@ -16,7 +16,7 @@ gtphub_test.ok \ $(NULL)
-noinst_PROGRAMS = \ +check_PROGRAMS = \ gtphub_test \ $(NULL)
diff --git a/tests/sgsn/Makefile.am b/tests/sgsn/Makefile.am index bdf941d..72a7714 100644 --- a/tests/sgsn/Makefile.am +++ b/tests/sgsn/Makefile.am @@ -25,7 +25,7 @@ sgsn_test.ok \ $(NULL)
-noinst_PROGRAMS = \ +check_PROGRAMS = \ sgsn_test \ $(NULL)
diff --git a/tests/slhc/Makefile.am b/tests/slhc/Makefile.am index b6738c2..0167f44 100644 --- a/tests/slhc/Makefile.am +++ b/tests/slhc/Makefile.am @@ -3,7 +3,7 @@
EXTRA_DIST = slhc_test.ok
-noinst_PROGRAMS = slhc_test +check_PROGRAMS = slhc_test
slhc_test_SOURCES = slhc_test.c
diff --git a/tests/sndcp_xid/Makefile.am b/tests/sndcp_xid/Makefile.am index 24626b3..4513c05 100644 --- a/tests/sndcp_xid/Makefile.am +++ b/tests/sndcp_xid/Makefile.am @@ -3,7 +3,7 @@
EXTRA_DIST = sndcp_xid_test.ok
-noinst_PROGRAMS = sndcp_xid_test +check_PROGRAMS = sndcp_xid_test
sndcp_xid_test_SOURCES = sndcp_xid_test.c
diff --git a/tests/v42bis/Makefile.am b/tests/v42bis/Makefile.am index 7442392..56b31f6 100644 --- a/tests/v42bis/Makefile.am +++ b/tests/v42bis/Makefile.am @@ -3,7 +3,7 @@
EXTRA_DIST = v42bis_test.ok
-noinst_PROGRAMS = v42bis_test +check_PROGRAMS = v42bis_test
v42bis_test_SOURCES = v42bis_test.c
diff --git a/tests/xid/Makefile.am b/tests/xid/Makefile.am index 6f058f5..d3c205e 100644 --- a/tests/xid/Makefile.am +++ b/tests/xid/Makefile.am @@ -15,7 +15,7 @@ xid_test.ok \ $(NULL)
-noinst_PROGRAMS = \ +check_PROGRAMS = \ xid_test \ $(NULL)