diff options
| author | David Bremner <david@tethera.net> | 2023-04-09 11:26:25 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-07-21 07:07:43 -0300 |
| commit | 73f3081160fb80345f3953cbdeba340975375325 (patch) | |
| tree | d49d1fe65235cfd7b7352a61ac1154b4b141b760 /test | |
| parent | f6fcdf12da455d82a9ed0a0a33eddac60253a6e8 (diff) | |
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.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test-lib-common.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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" |
