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: 0.10.2^0 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=07bb8b9e895541006eca88430925f1c6524c4708 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)