summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-10-30 13:22:33 -0300
committerDavid Bremner <david@tethera.net>2021-12-04 08:36:23 -0400
commit5f077bef37462267258f95f7400596a157878b14 (patch)
treea80b1d9ef7d4dc05eaa27a20e28f67fd9a4903a2
parent4b361f4d35df92bb2c679143adedf4b88288648c (diff)
test: add python-cffi bindings to path for test_python
This will allow testing the new python bindings using test_python, in addition to the current invocation of pytest.
-rw-r--r--test/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 32f710a5..e476a69b 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -909,7 +909,7 @@ test_done () {
test_python () {
# Note: if there is need to print debug information from python program,
# use stdout = os.fdopen(6, 'w') or stderr = os.fdopen(7, 'w')
- PYTHONPATH="$NOTMUCH_SRCDIR/bindings/python${PYTHONPATH:+:$PYTHONPATH}" \
+ PYTHONPATH="$NOTMUCH_BUILDDIR/bindings/python-cffi/build/stage:$NOTMUCH_SRCDIR/bindings/python${PYTHONPATH:+:$PYTHONPATH}" \
$NOTMUCH_PYTHON -B - > OUTPUT
}