[PATCH] Set LD_LIBRARY_PATH during tests.

Jelmer Vernooń≥ jelmer at jelmer.uk
Wed Nov 18 02:59:37 UTC 2015


From: Jelmer Vernooij <jelmer at jelmer.uk>

Without this, tests fail ir libtevent is not installed on the system.

Signed-Off-By: Jelmer Vernooij <jelmer at jelmer.uk>
---
 lib/tevent/wscript | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 4c5fe0c..73871d8 100755
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -133,6 +133,9 @@ def test(ctx):
     '''test tevent'''
     print("The tevent testsuite is part of smbtorture in samba4")
 
+    samba_utils.ADD_LD_LIBRARY_PATH('bin/shared')
+    samba_utils.ADD_LD_LIBRARY_PATH('bin/shared/private')
+
     pyret = samba_utils.RUN_PYTHON_TESTS(['bindings.py'])
     sys.exit(pyret)
 
-- 
2.6.2




More information about the samba-technical mailing list