]> git.cworth.org Git - notmuch/blobdiff - test/test-lib-common.sh
test: Guess a value for NOTMUCH_PYTHON
[notmuch] / test / test-lib-common.sh
index 18fa29c0dd86d3b7eb8ab5c3b69bd7f9a35cf89a..4d14e0b3b18e506b445e7e9c38b45a545382ded0 100644 (file)
@@ -323,6 +323,10 @@ rm -rf "$TMP_DIRECTORY" || {
        exit 1
 }
 
+# Provide a guess at a usable Python, to support running tests without
+# running configure first.
+NOTMUCH_PYTHON=${NOTMUCH_PYTHON-python3}
+
 # A temporary home directory is needed by at least:
 # - emacs/"Sending a message via (fake) SMTP"
 # - emacs/"Reply within emacs"