From 07bb8b9e895541006eca88430925f1c6524c4708 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 5 Dec 2011 23:06:50 -0400 Subject: [PATCH] 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. --- test/python | 2 ++ 1 file changed, 2 insertions(+) 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)