From: David Bremner 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: debian/0.10.2-1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0eba3b3f150e5700d540bfcb487a44e9dfbc3119;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 < OUTPUT import notmuch db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)