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
This commit is contained in:
Vadim Yanitskiy 2023-03-11 04:25:34 +07:00
parent 2acc7b94d2
commit 6b204ebd66
9 changed files with 13 additions and 2 deletions

View File

@ -14,6 +14,8 @@ AM_CFLAGS = \
$(COVERAGE_CFLAGS) \
$(NULL)
AM_LDFLAGS = -no-install
EXTRA_DIST = \
abis_test.ok \
$(NULL)

View File

@ -14,6 +14,8 @@ AM_CFLAGS = \
$(COVERAGE_CFLAGS) \
$(NULL)
AM_LDFLAGS = -no-install
EXTRA_DIST = \
acc_test.ok \
$(NULL)

View File

@ -18,6 +18,7 @@ AM_CFLAGS = \
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
-no-install \
$(NULL)
EXTRA_DIST = \

View File

@ -12,8 +12,7 @@ AM_CFLAGS = \
$(LIBOSMOSIGTRAN_CFLAGS) \
$(NULL)
AM_LDFLAGS = \
$(NULL)
AM_LDFLAGS = -no-install
EXTRA_DIST = \
codec_pref_test.ok \

View File

@ -13,6 +13,8 @@ AM_CFLAGS = \
$(LIBOSMOSIGTRAN_CFLAGS) \
$(NULL)
AM_LDFLAGS = -no-install
check_PROGRAMS = \
gsm0408_test \
$(NULL)

View File

@ -18,6 +18,7 @@ AM_CFLAGS = \
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
-no-install \
$(NULL)
EXTRA_DIST = \

View File

@ -12,6 +12,8 @@ AM_CFLAGS = \
$(LIBOSMOSIGTRAN_CFLAGS) \
$(NULL)
AM_LDFLAGS = -no-install
check_PROGRAMS = \
nanobts_omlattr_test \
$(NULL)

View File

@ -28,6 +28,7 @@ paging_test_SOURCES = \
paging_test_LDFLAGS = \
-Wl,--wrap=abis_rsl_sendmsg \
-no-install \
$(NULL)
paging_test_LDADD = \

View File

@ -17,6 +17,7 @@ AM_CFLAGS = \
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
-no-install \
$(NULL)
EXTRA_DIST = \