branch: elpa/bash-completion
commit 9521f79b3341a72ec266da655348cc95bbca582a
Author: Stephane Zermatten <[email protected]>
Commit: Stephane Zermatten <[email protected]>
Display the emacs command run by the tests.
---
run_tests.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/run_tests.sh b/run_tests.sh
index 38de19fb33..a6c6b353cc 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -6,8 +6,9 @@
#
rootdir="$(dirname "$0")"
testdir="${rootdir}/test"
-
-"${EMACSCMD:-emacs}" \
+emacscmd="${EMACSCMD:-emacs}"
+echo "Testing against ${emacscmd}:"
+"${emacscmd}" \
-Q \
-batch \
-eval "(setq byte-compile-error-on-warn t)" \
@@ -15,7 +16,7 @@ testdir="${rootdir}/test"
-f batch-byte-compile \
"${rootdir}/bash-completion.el" \
|| exit 1
-exec "${EMACSCMD:-emacs}" \
+exec "${emacscmd}" \
-Q \
-batch \
-eval "(setq bash-completion-prog \"${BASHCMD:-$(which bash)}\")" \