test: Guess a value for NOTMUCH_PYTHON

python3 will work for many people, and reduce the friction to running
the tests without running configure first.
This commit is contained in:
David Bremner 2023-04-09 11:26:25 -03:00
parent f6fcdf12da
commit 73f3081160

View 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"