branch: elpa/bash-completion
commit 483643e70a0f4120e6a2c4d27ad8838282df6e00
Author: Stephane Zermatten <[email protected]>
Commit: Stephane Zermatten <[email protected]>
Add option eldev test --bash=<path>.
This new option allows setting the bash executable that's used in the
tests. This is the equivalent of writing
BASH=<path> make test
with the old Makefile.
---
Eldev | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Eldev b/Eldev
index 3de498a993..177dc98595 100644
--- a/Eldev
+++ b/Eldev
@@ -13,6 +13,13 @@
(setf eldev-standard-excludes
`(:or ,eldev-standard-excludes "./license"))
+(eldev-defoption bash-eldev-completion-prog (&optional path)
+ "Tests look for Bash at PATH."
+ :options (--bash)
+ :optional-value PATH
+ :for-command test
+ (setq bash-completion-prog (when path (executable-find path))))
+
;; After a release, add a snapshot to tag a development version, so if the
;; release is 1.0.0, the following development version is 1.0.1snapshot
;; and the next release is going to be 1.0.2 or 1.1.