mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
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.
This commit is contained in:
parent
8e3879b689
commit
07bb8b9e89
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ test_description="python bindings"
|
||||||
add_email_corpus
|
add_email_corpus
|
||||||
|
|
||||||
test_begin_subtest "compare thread ids"
|
test_begin_subtest "compare thread ids"
|
||||||
|
LD_LIBRARY_PATH=$TEST_DIRECTORY/../lib \
|
||||||
|
PYTHONPATH=$TEST_DIRECTORY/../bindings/python \
|
||||||
python <<EOF | sort > OUTPUT
|
python <<EOF | sort > OUTPUT
|
||||||
import notmuch
|
import notmuch
|
||||||
db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)
|
db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)
|
||||||
|
|
Loading…
Reference in a new issue