Skip to content

Commit 483643e

Browse files
committed
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.
1 parent 74f343f commit 483643e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Eldev

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
(setf eldev-standard-excludes
1414
`(:or ,eldev-standard-excludes "./license"))
1515

16+
(eldev-defoption bash-eldev-completion-prog (&optional path)
17+
"Tests look for Bash at PATH."
18+
:options (--bash)
19+
:optional-value PATH
20+
:for-command test
21+
(setq bash-completion-prog (when path (executable-find path))))
22+
1623
;; After a release, add a snapshot to tag a development version, so if the
1724
;; release is 1.0.0, the following development version is 1.0.1snapshot
1825
;; and the next release is going to be 1.0.2 or 1.1.

0 commit comments

Comments
 (0)