fixeria has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-sccp/+/27779 )
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: Icca22778831b043358acf0482948dbff32a11256
---
M tests/m2ua/Makefile.am
M tests/mtp/Makefile.am
M tests/sccp/Makefile.am
M tests/ss7/Makefile.am
M tests/vty/Makefile.am
M tests/xua/Makefile.am
6 files changed, 6 insertions(+), 6 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/m2ua/Makefile.am b/tests/m2ua/Makefile.am
index 33618ef..aa88258 100644
--- a/tests/m2ua/Makefile.am
+++ b/tests/m2ua/Makefile.am
@@ -3,6 +3,6 @@
EXTRA_DIST = m2ua_test.ok
-noinst_PROGRAMS = m2ua_test
+check_PROGRAMS = m2ua_test
m2ua_test_SOURCES = m2ua_test.c
m2ua_test_LDADD = $(top_builddir)/src/libxua.a $(LIBOSMOCORE_LIBS)
diff --git a/tests/mtp/Makefile.am b/tests/mtp/Makefile.am
index 21cc2c0..c770a16 100644
--- a/tests/mtp/Makefile.am
+++ b/tests/mtp/Makefile.am
@@ -1,5 +1,5 @@
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include $(LIBOSMOCORE_CFLAGS) -Wall
-noinst_PROGRAMS = mtp_parse_test
+check_PROGRAMS = mtp_parse_test
EXTRA_DIST = mtp_parse_test.ok
diff --git a/tests/sccp/Makefile.am b/tests/sccp/Makefile.am
index 85dbe64..21f3f05 100644
--- a/tests/sccp/Makefile.am
+++ b/tests/sccp/Makefile.am
@@ -3,7 +3,7 @@
EXTRA_DIST = sccp_test.ok
-noinst_PROGRAMS = sccp_test
+check_PROGRAMS = sccp_test
sccp_test_SOURCES = sccp_test.c
sccp_test_LDADD = \
diff --git a/tests/ss7/Makefile.am b/tests/ss7/Makefile.am
index 3b6cb2c..6ca75b3 100644
--- a/tests/ss7/Makefile.am
+++ b/tests/ss7/Makefile.am
@@ -7,6 +7,6 @@
EXTRA_DIST = ss7_test.ok ss7_test.err
-noinst_PROGRAMS = ss7_test
+check_PROGRAMS = ss7_test
ss7_test_SOURCES = ss7_test.c
diff --git a/tests/vty/Makefile.am b/tests/vty/Makefile.am
index be67293..00e3a1f 100644
--- a/tests/vty/Makefile.am
+++ b/tests/vty/Makefile.am
@@ -10,7 +10,7 @@
vty_test_runner.py \
$(NULL)
-noinst_PROGRAMS = ss7_asp_vty_test
+check_PROGRAMS = ss7_asp_vty_test
ss7_asp_vty_test_SOURCES = ss7_asp_vty_test.c
diff --git a/tests/xua/Makefile.am b/tests/xua/Makefile.am
index f56692b..ad4577d 100644
--- a/tests/xua/Makefile.am
+++ b/tests/xua/Makefile.am
@@ -8,6 +8,6 @@
EXTRA_DIST = xua_test.ok xua_test.err
noinst_HEADERS = sccp_test_data.h
-noinst_PROGRAMS = xua_test
+check_PROGRAMS = xua_test
xua_test_SOURCES = xua_test.c sccp_test_data.c
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sccp/+/27779
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Icca22778831b043358acf0482948dbff32a11256
Gerrit-Change-Number: 27779
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged