[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master a2cf4d4: Minor emacsclient-tests simplification
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master a2cf4d4: Minor emacsclient-tests simplification |
Date: |
Tue, 5 Sep 2017 18:55:55 -0400 (EDT) |
branch: master
commit a2cf4d49f1548b438ce7dd1e99bb2bb8e4e99092
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Minor emacsclient-tests simplification
* test/lib-src/emacsclient-tests.el (emacsclient-test-emacs):
Simplify. Also work when running installed.
---
test/lib-src/emacsclient-tests.el | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/test/lib-src/emacsclient-tests.el
b/test/lib-src/emacsclient-tests.el
index 61ead4f..3a2396f 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."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master a2cf4d4: Minor emacsclient-tests simplification,
Glenn Morris <=