aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFrederic Martinsons <frederic.martinsons@unabiz.com>2023-01-01 07:51:32 +0100
committerFrédéric Martinsons <frederic.martinsons@sigfox.com>2023-01-09 14:17:22 +0000
commit99570090ea85c88c6ec2d658e91d241f7f697fc4 (patch)
treef70a855489a94872d72e1e4b37680cea2cb4f2e4 /tools
parentaa28fc7a9ea67df99229a4d72ff2294d5bbbe456 (diff)
build: set LD_LIBRARY_PATH along with GI_TYPELIB_PATH when launching stub
Otherwise we may use a wrong typelib shared library (the one that is installed on the system which run the test) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tests/test-wrapper.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tests/test-wrapper.sh.in b/tools/tests/test-wrapper.sh.in
index fcdb56de..fb8cd5e8 100755
--- a/tools/tests/test-wrapper.sh.in
+++ b/tools/tests/test-wrapper.sh.in
@@ -2,4 +2,4 @@
# For debugging behavior of test-modemmanager-service.py, you can modify
# this line to add --log-file option
-GI_TYPELIB_PATH=@abs_top_builddir@/libmm-glib @abs_top_srcdir@/tools/test-modemmanager-service.py
+LD_LIBRARY_PATH=@abs_top_builddir@/libmm-glib GI_TYPELIB_PATH=@abs_top_builddir@/libmm-glib @abs_top_srcdir@/tools/test-modemmanager-service.py