diff options
Diffstat (limited to 'test/lib-src')
-rw-r--r-- | test/lib-src/emacsclient-tests.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/lib-src/emacsclient-tests.el b/test/lib-src/emacsclient-tests.el index 61ead4f0f32..3a2396f7817 100644 --- a/test/lib-src/emacsclient-tests.el +++ b/test/lib-src/emacsclient-tests.el @@ -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." |