X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib-common.sh;h=4d14e0b3b18e506b445e7e9c38b45a545382ded0;hp=18fa29c0dd86d3b7eb8ab5c3b69bd7f9a35cf89a;hb=73f3081160fb80345f3953cbdeba340975375325;hpb=f6fcdf12da455d82a9ed0a0a33eddac60253a6e8 diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh index 18fa29c0..4d14e0b3 100644 --- a/test/test-lib-common.sh +++ b/test/test-lib-common.sh @@ -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"