diff options
| author | Stephen Gildea | 2023-11-03 15:24:21 -0700 |
|---|---|---|
| committer | Stephen Gildea | 2023-11-03 15:24:21 -0700 |
| commit | 08fed99ae862255f06ef2254b7cef3a5fab178b6 (patch) | |
| tree | 015b589f6963ede92fda15a88c63b3304e293bc6 /test | |
| parent | 6218278a67b5ce87eb5e8b2c76daeb7475983d35 (diff) | |
| download | emacs-08fed99ae862255f06ef2254b7cef3a5fab178b6.tar.gz emacs-08fed99ae862255f06ef2254b7cef3a5fab178b6.zip | |
MH-E testing: find locally-installed GNU Mailutils libraries
* test/lisp/mh-e/test-all-mh-variants.sh: LD_LIBRARY_PATH is sometimes
necessary. This reverts part of commit f1fcd321ff of 24 Nov 2021.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/lisp/mh-e/test-all-mh-variants.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lisp/mh-e/test-all-mh-variants.sh b/test/lisp/mh-e/test-all-mh-variants.sh index 5e6b26fd2ec..602d831e28c 100755 --- a/test/lisp/mh-e/test-all-mh-variants.sh +++ b/test/lisp/mh-e/test-all-mh-variants.sh | |||
| @@ -81,8 +81,10 @@ for path in "${mh_sys_path[@]}"; do | |||
| 81 | fi | 81 | fi |
| 82 | echo "** Testing with PATH $path" | 82 | echo "** Testing with PATH $path" |
| 83 | ((++tests_total)) | 83 | ((++tests_total)) |
| 84 | # The LD_LIBRARY_PATH setting is needed | ||
| 85 | # to run locally installed Mailutils. | ||
| 84 | TEST_MH_PATH=$path TEST_MH_DEBUG=$debug \ | 86 | TEST_MH_PATH=$path TEST_MH_DEBUG=$debug \ |
| 85 | HOME=/nonexistent \ | 87 | LD_LIBRARY_PATH=/usr/local/lib HOME=/nonexistent \ |
| 86 | "${emacs[@]}" -l ert \ | 88 | "${emacs[@]}" -l ert \ |
| 87 | --eval "(setq load-prefer-newer t)" \ | 89 | --eval "(setq load-prefer-newer t)" \ |
| 88 | --eval "(load \"$PWD/test/lisp/mh-e/mh-utils-tests\" nil t)" \ | 90 | --eval "(load \"$PWD/test/lisp/mh-e/mh-utils-tests\" nil t)" \ |