aboutsummaryrefslogtreecommitdiff
path: root/test/T390-python.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-08-02 08:40:55 +0200
committerDavid Bremner <david@tethera.net>2015-08-04 09:19:18 +0200
commit23d86773b9e1b8111921af94f7f14ea0867eaee2 (patch)
tree924545b4e1eb5d38f199d08abe1ca58ba3a99fe8 /test/T390-python.sh
parent2982d70ac683c74c62e20081b36529c90bccc914 (diff)
test: use the python interpreter in sh.config
The configure script chooses "python" if both python and python{2,3} exist exists, so this could change the version of python used to run the test suite. The checking for ${NOTMUCH_PYTHON} in the test suite is arguably over-engineering, since the configure step will fail if it can't find it.
Diffstat (limited to 'test/T390-python.sh')
-rwxr-xr-xtest/T390-python.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/T390-python.sh b/test/T390-python.sh
index 26d0b976..c3f24f79 100755
--- a/test/T390-python.sh
+++ b/test/T390-python.sh
@@ -2,6 +2,8 @@
test_description="python bindings"
. ./test-lib.sh
+test_require_external_prereq ${NOTMUCH_PYTHON}
+
add_email_corpus
test_begin_subtest "compare thread ids"