mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
Minor emacsclient-tests simplification
* test/lib-src/emacsclient-tests.el (emacsclient-test-emacs): Simplify. Also work when running installed.
This commit is contained in:
parent
732fdeb341
commit
a2cf4d49f1
@ -26,12 +26,10 @@
|
||||
(require 'ert)
|
||||
|
||||
(defconst emacsclient-test-emacs
|
||||
(expand-file-name "emacsclient" (concat
|
||||
(file-name-directory
|
||||
(directory-file-name
|
||||
(file-name-directory invocation-directory)))
|
||||
"lib-src"))
|
||||
"Path to emacsclient binary in build tree.")
|
||||
(if installation-directory
|
||||
(expand-file-name "lib-src/emacsclient" installation-directory)
|
||||
"emacsclient")
|
||||
"The emacsclient binary to test.")
|
||||
|
||||
(defun emacsclient-test-call-emacsclient ()
|
||||
"Run emacsclient."
|
||||
|
Loading…
Reference in New Issue
Block a user