From: David Bremner <bremner@debian.org>
Date: Tue, 6 Dec 2011 03:06:50 +0000 (-0400)
Subject: test/python: set LD_LIBRARY_PATH and PYTHONPATH to use local notmuch
X-Git-Tag: 0.10.2
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=876e6d1078fd63368caafe94bb7d768ff5179eaa;p=notmuch.git

test/python: set LD_LIBRARY_PATH and PYTHONPATH to use local notmuch

Possibly this should be factored out into some kind of "run_python"
function.
---

diff --git a/test/python b/test/python
index 179427b8..f737749f 100755
--- a/test/python
+++ b/test/python
@@ -5,6 +5,8 @@ test_description="python bindings"
 add_email_corpus
 
 test_begin_subtest "compare thread ids"
+LD_LIBRARY_PATH=$TEST_DIRECTORY/../lib \
+PYTHONPATH=$TEST_DIRECTORY/../bindings/python \
 python <<EOF | sort > OUTPUT
 import notmuch
 db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)