diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2015-11-17 00:57:53 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2015-11-17 00:57:53 +0000 |
commit | 8014e9ca812baec9ed7956f3edc295fd423bb458 (patch) | |
tree | 86abe1f9a16df2efc2abb8de3af5096d12b7a8f1 | |
parent | 11ff14f35b4deac9b79cd84efdc72af13691332a (diff) |
Set LD_LIBRARY_PATH during tests. Fixes FTBFS. Closes: #805319
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/patches/01_fix_ld_library_path | 14 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 93c7ea7..8d789cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +tevent (0.9.26-2) UNRELEASED; urgency=medium + + * Set LD_LIBRARY_PATH during tests. Fixes FTBFS. Closes: #805319 + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 17 Nov 2015 00:57:47 +0000 + tevent (0.9.26-1) unstable; urgency=medium * New upstream release. diff --git a/debian/patches/01_fix_ld_library_path b/debian/patches/01_fix_ld_library_path new file mode 100644 index 0000000..b6cd82e --- /dev/null +++ b/debian/patches/01_fix_ld_library_path @@ -0,0 +1,14 @@ +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) + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..93d369a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01_fix_ld_library_path |