emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/bash-completion 8c3995aa98 187/313: run_tests.sh displays


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 8c3995aa98 187/313: run_tests.sh displays the bash command to test against.
Date: Sat, 3 Dec 2022 10:59:29 -0500 (EST)

branch: elpa/bash-completion
commit 8c3995aa98c036b7fc205cf70255db02d6f33ed7
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    run_tests.sh displays the bash command to test against.
---
 run_tests.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/run_tests.sh b/run_tests.sh
index a6c6b353cc..e0b7b6905a 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -7,7 +7,8 @@
 rootdir="$(dirname "$0")"
 testdir="${rootdir}/test"
 emacscmd="${EMACSCMD:-emacs}"
-echo "Testing against ${emacscmd}:"
+bashcmd="${BASHCMD:-$(which bash)}"
+echo "Testing against ${emacscmd} and ${bashcmd}:"
 "${emacscmd}" \
      -Q \
      -batch \
@@ -19,7 +20,7 @@ echo "Testing against ${emacscmd}:"
 exec "${emacscmd}" \
     -Q \
     -batch \
-    -eval "(setq bash-completion-prog \"${BASHCMD:-$(which bash)}\")" \
+    -eval "(setq bash-completion-prog \"${bashcmd}\")" \
     -L "${rootdir}" \
     -L "${testdir}" \
     -l "${testdir}/bash-completion-test.el" \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]