From: Stephen Gildea Date: Fri, 3 Nov 2023 22:24:21 +0000 (-0700) Subject: MH-E testing: find locally-installed GNU Mailutils libraries X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=08fed99ae862255f06ef2254b7cef3a5fab178b6;p=emacs.git 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. --- 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 fi echo "** Testing with PATH $path" ((++tests_total)) + # The LD_LIBRARY_PATH setting is needed + # to run locally installed Mailutils. TEST_MH_PATH=$path TEST_MH_DEBUG=$debug \ - HOME=/nonexistent \ + LD_LIBRARY_PATH=/usr/local/lib HOME=/nonexistent \ "${emacs[@]}" -l ert \ --eval "(setq load-prefer-newer t)" \ --eval "(load \"$PWD/test/lisp/mh-e/mh-utils-tests\" nil t)" \