]> git.eshelyaron.com Git - emacs.git/commitdiff
MH-E testing: find locally-installed GNU Mailutils libraries
authorStephen Gildea <stepheng+emacs@gildea.com>
Fri, 3 Nov 2023 22:24:21 +0000 (15:24 -0700)
committerStephen Gildea <stepheng+emacs@gildea.com>
Fri, 3 Nov 2023 22:24:21 +0000 (15:24 -0700)
* 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.

test/lisp/mh-e/test-all-mh-variants.sh

index 5e6b26fd2ec0d1875be8ae1aba64103aafae8533..602d831e28c92664d9569c3ef6990becfa146a60 100755 (executable)
@@ -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)" \