diff options
author | David Bremner <bremner@debian.org> | 2011-12-05 23:06:50 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-05 23:06:50 -0400 |
commit | 07bb8b9e895541006eca88430925f1c6524c4708 (patch) | |
tree | 7377b00f2e0ef0b01cbaaeacfa9acf2f57e63a2f /test | |
parent | 8e3879b68968ab985b903868427791e7c1bb516d (diff) |
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.
Diffstat (limited to 'test')
-rwxr-xr-x | test/python | 2 |
1 files changed, 2 insertions, 0 deletions
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) |