From 99570090ea85c88c6ec2d658e91d241f7f697fc4 Mon Sep 17 00:00:00 2001 From: Frederic Martinsons Date: Sun, 1 Jan 2023 07:51:32 +0100 Subject: 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 --- tools/tests/test-wrapper.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3-70-g09d2