Commit a2cf4d49 authored by Glenn Morris's avatar Glenn Morris

Minor emacsclient-tests simplification

* test/lib-src/emacsclient-tests.el (emacsclient-test-emacs):
Simplify.  Also work when running installed.
parent 732fdeb3
......@@ -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."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment