[S] Change in osmo-sgsn[master]: tests: use -no-install libtool flag to avoid ./lt-* scripts
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/31839 ) Change subject: tests: use -no-install libtool flag to avoid ./lt-* scripts ...................................................................... tests: use -no-install libtool flag to avoid ./lt-* scripts This option should be used for any executables which are used only for testing, or for generating other files and are consequently never installed. By specifying this option, we are telling Libtool that the executable it links will only ever be executed from where it is built in the build tree. Libtool is usually able to considerably speed up the link process for such executables. Change-Id: I8af6a38d7abbf06aa8268981c80c3bfda2f80a27 --- 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, 28 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/39/31839/1 diff --git a/tests/gprs/Makefile.am b/tests/gprs/Makefile.am index f90fd6e..ddfd2ae 100644 --- a/tests/gprs/Makefile.am +++ b/tests/gprs/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) +AM_LDFLAGS = -no-install EXTRA_DIST = gprs_test.ok diff --git a/tests/gtphub/Makefile.am b/tests/gtphub/Makefile.am index 6bb1a56..22b2a52 100644 --- a/tests/gtphub/Makefile.am +++ b/tests/gtphub/Makefile.am @@ -12,6 +12,8 @@ $(LIBGTP_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install + EXTRA_DIST = \ gtphub_test.ok \ $(NULL) @@ -28,6 +30,7 @@ -Wl,--wrap=gtphub_resolve_ggsn_addr \ -Wl,--wrap=gtphub_ares_init \ -Wl,--wrap=gtphub_write \ + $(AM_LDFLAGS) \ $(NULL) gtphub_test_LDADD = \ diff --git a/tests/sgsn/Makefile.am b/tests/sgsn/Makefile.am index d22a8d9..c6c1f4a 100644 --- a/tests/sgsn/Makefile.am +++ b/tests/sgsn/Makefile.am @@ -22,6 +22,8 @@ $(NULL) endif +AM_LDFLAGS = -no-install + EXTRA_DIST = \ sgsn_test.ok \ $(NULL) @@ -45,6 +47,7 @@ -Wl,--wrap=gprs_subscr_request_update_location \ -Wl,--wrap=gprs_subscr_request_auth_info \ -Wl,--wrap=osmo_gsup_client_send \ + $(AM_LDFLAGS) \ $(NULL) sgsn_test_LDADD = \ diff --git a/tests/slhc/Makefile.am b/tests/slhc/Makefile.am index 0167f44..33cb7fa 100644 --- a/tests/slhc/Makefile.am +++ b/tests/slhc/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFLAGS) +AM_LDFLAGS = -no-install EXTRA_DIST = slhc_test.ok diff --git a/tests/sndcp_xid/Makefile.am b/tests/sndcp_xid/Makefile.am index 4513c05..c4702b8 100644 --- a/tests/sndcp_xid/Makefile.am +++ b/tests/sndcp_xid/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFLAGS) +AM_LDFLAGS = -no-install EXTRA_DIST = sndcp_xid_test.ok diff --git a/tests/v42bis/Makefile.am b/tests/v42bis/Makefile.am index 56b31f6..0e544a6 100644 --- a/tests/v42bis/Makefile.am +++ b/tests/v42bis/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFLAGS) +AM_LDFLAGS = -no-install EXTRA_DIST = v42bis_test.ok diff --git a/tests/xid/Makefile.am b/tests/xid/Makefile.am index d3c205e..d3a260b 100644 --- a/tests/xid/Makefile.am +++ b/tests/xid/Makefile.am @@ -11,6 +11,8 @@ $(LIBCARES_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install + EXTRA_DIST = \ xid_test.ok \ $(NULL) -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/31839 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I8af6a38d7abbf06aa8268981c80c3bfda2f80a27 Gerrit-Change-Number: 31839 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
fixeria