fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/31833 )
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: I06d3d5ab1dd21400a72f76eecc508886617ef4c6 --- M tests/agch/Makefile.am M tests/amr/Makefile.am M tests/cipher/Makefile.am M tests/handover/Makefile.am M tests/meas/Makefile.am M tests/misc/Makefile.am M tests/paging/Makefile.am M tests/power/Makefile.am M tests/sysmobts/Makefile.am M tests/ta_control/Makefile.am M tests/tx_power/Makefile.am 11 files changed, 27 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/33/31833/1
diff --git a/tests/agch/Makefile.am b/tests/agch/Makefile.am index ffc65fd..d05fc62 100644 --- a/tests/agch/Makefile.am +++ b/tests/agch/Makefile.am @@ -9,6 +9,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/amr/Makefile.am b/tests/amr/Makefile.am index a15c0c7..a857d17 100644 --- a/tests/amr/Makefile.am +++ b/tests/amr/Makefile.am @@ -8,6 +8,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/cipher/Makefile.am b/tests/cipher/Makefile.am index 13bface..c33b05e 100644 --- a/tests/cipher/Makefile.am +++ b/tests/cipher/Makefile.am @@ -9,6 +9,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/handover/Makefile.am b/tests/handover/Makefile.am index 5197cb9..789696e 100644 --- a/tests/handover/Makefile.am +++ b/tests/handover/Makefile.am @@ -8,6 +8,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/meas/Makefile.am b/tests/meas/Makefile.am index 7a65d08..e80b406 100644 --- a/tests/meas/Makefile.am +++ b/tests/meas/Makefile.am @@ -8,6 +8,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/misc/Makefile.am b/tests/misc/Makefile.am index 6770be3..8b8beda 100644 --- a/tests/misc/Makefile.am +++ b/tests/misc/Makefile.am @@ -8,6 +8,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/paging/Makefile.am b/tests/paging/Makefile.am index 0c01e39..06cc35e 100644 --- a/tests/paging/Makefile.am +++ b/tests/paging/Makefile.am @@ -18,6 +18,7 @@ $(LIBOSMOTRAU_LIBS) \ $(LIBOSMONETIF_LIBS) \ $(NULL) +AM_LDFLAGS = -no-install
check_PROGRAMS = paging_test EXTRA_DIST = paging_test.ok diff --git a/tests/power/Makefile.am b/tests/power/Makefile.am index c1abead..81f3f2a 100644 --- a/tests/power/Makefile.am +++ b/tests/power/Makefile.am @@ -8,6 +8,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOCODEC_LIBS) \ diff --git a/tests/sysmobts/Makefile.am b/tests/sysmobts/Makefile.am index ee7b82f..ff80fb3 100644 --- a/tests/sysmobts/Makefile.am +++ b/tests/sysmobts/Makefile.am @@ -14,6 +14,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOCODEC_LIBS) \ diff --git a/tests/ta_control/Makefile.am b/tests/ta_control/Makefile.am index f28ae1d..12c32ac 100644 --- a/tests/ta_control/Makefile.am +++ b/tests/ta_control/Makefile.am @@ -8,6 +8,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/tx_power/Makefile.am b/tests/tx_power/Makefile.am index 2e91fa0..8c3db1e 100644 --- a/tests/tx_power/Makefile.am +++ b/tests/tx_power/Makefile.am @@ -8,6 +8,7 @@ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \