fixeria has uploaded this change for review.
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: I37f078bdc17e128298b956f493ff5c03ef476f98
---
M tests/abis/Makefile.am
M tests/acc/Makefile.am
M tests/bsc/Makefile.am
M tests/codec_pref/Makefile.am
M tests/gsm0408/Makefile.am
M tests/handover/Makefile.am
M tests/nanobts_omlattr/Makefile.am
M tests/paging/Makefile.am
M tests/subscr/Makefile.am
9 files changed, 29 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/32/31832/1
diff --git a/tests/abis/Makefile.am b/tests/abis/Makefile.am
index d17eff8..6f00191 100644
--- a/tests/abis/Makefile.am
+++ b/tests/abis/Makefile.am
@@ -14,6 +14,8 @@
$(COVERAGE_CFLAGS) \
$(NULL)
+AM_LDFLAGS = -no-install
+
EXTRA_DIST = \
abis_test.ok \
$(NULL)
diff --git a/tests/acc/Makefile.am b/tests/acc/Makefile.am
index a169c5c..4199d4e 100644
--- a/tests/acc/Makefile.am
+++ b/tests/acc/Makefile.am
@@ -14,6 +14,8 @@
$(COVERAGE_CFLAGS) \
$(NULL)
+AM_LDFLAGS = -no-install
+
EXTRA_DIST = \
acc_test.ok \
$(NULL)
diff --git a/tests/bsc/Makefile.am b/tests/bsc/Makefile.am
index 6b5c3e8..be9690c 100644
--- a/tests/bsc/Makefile.am
+++ b/tests/bsc/Makefile.am
@@ -18,6 +18,7 @@
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
+ -no-install \
$(NULL)
EXTRA_DIST = \
diff --git a/tests/codec_pref/Makefile.am b/tests/codec_pref/Makefile.am
index ec25da5..5e77f0e 100644
--- a/tests/codec_pref/Makefile.am
+++ b/tests/codec_pref/Makefile.am
@@ -12,8 +12,7 @@
$(LIBOSMOSIGTRAN_CFLAGS) \
$(NULL)
-AM_LDFLAGS = \
- $(NULL)
+AM_LDFLAGS = -no-install
EXTRA_DIST = \
codec_pref_test.ok \
diff --git a/tests/gsm0408/Makefile.am b/tests/gsm0408/Makefile.am
index 4802025..e13f687 100644
--- a/tests/gsm0408/Makefile.am
+++ b/tests/gsm0408/Makefile.am
@@ -13,6 +13,8 @@
$(LIBOSMOSIGTRAN_CFLAGS) \
$(NULL)
+AM_LDFLAGS = -no-install
+
check_PROGRAMS = \
gsm0408_test \
$(NULL)
diff --git a/tests/handover/Makefile.am b/tests/handover/Makefile.am
index b5726b6..0ff387b 100644
--- a/tests/handover/Makefile.am
+++ b/tests/handover/Makefile.am
@@ -18,6 +18,7 @@
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
+ -no-install \
$(NULL)
EXTRA_DIST = \
diff --git a/tests/nanobts_omlattr/Makefile.am b/tests/nanobts_omlattr/Makefile.am
index 8c64356..b45e9b5 100644
--- a/tests/nanobts_omlattr/Makefile.am
+++ b/tests/nanobts_omlattr/Makefile.am
@@ -12,6 +12,8 @@
$(LIBOSMOSIGTRAN_CFLAGS) \
$(NULL)
+AM_LDFLAGS = -no-install
+
check_PROGRAMS = \
nanobts_omlattr_test \
$(NULL)
diff --git a/tests/paging/Makefile.am b/tests/paging/Makefile.am
index 5472c48..7fb7ff1 100644
--- a/tests/paging/Makefile.am
+++ b/tests/paging/Makefile.am
@@ -28,6 +28,7 @@
paging_test_LDFLAGS = \
-Wl,--wrap=abis_rsl_sendmsg \
+ -no-install \
$(NULL)
paging_test_LDADD = \
diff --git a/tests/subscr/Makefile.am b/tests/subscr/Makefile.am
index e18b96a..634ea59 100644
--- a/tests/subscr/Makefile.am
+++ b/tests/subscr/Makefile.am
@@ -17,6 +17,7 @@
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
+ -no-install \
$(NULL)
EXTRA_DIST = \
To view, visit change 31832. To unsubscribe, or for help writing mail filters, visit settings.