[PATCH] Set LD_LIBRARY_PATH during tests.
Jeremy Allison
jra at samba.org
Wed Nov 18 17:11:46 UTC 2015
On Wed, Nov 18, 2015 at 02:59:37AM +0000, Jelmer Vernooij wrote:
> From: Jelmer Vernooij <jelmer at jelmer.uk>
>
> Without this, tests fail ir libtevent is not installed on the system.
LGTM. Pushed !
> 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