1
0
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:
Glenn Morris 2017-09-05 18:55:49 -04:00
parent 732fdeb341
commit a2cf4d49f1

View File

@ -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."