* test/lib-src/emacsclient-tests.el (emacsclient-test-emacs):
* test/lisp/server-tests.el (server-tests/emacsclient): Don't
assume emacsclient is installed as emacsclient.
(cherry picked from commit
7da9d2d7464496ff684d28b0d37f286ddae70d65)
(defconst emacsclient-test-emacs
(if installation-directory
(expand-file-name "lib-src/emacsclient" installation-directory)
- "emacsclient")
+ emacsclient-program-name)
"The emacsclient binary to test.")
(defmacro emacsclient-test-call-emacsclient (editor)
(defconst server-tests/emacsclient
(if installation-directory
(expand-file-name "lib-src/emacsclient" installation-directory)
- "emacsclient")
+ emacsclient-program-name)
"The emacsclient binary to test.")
(defmacro server-tests/wait-until (form)