Fix a number of ERT tests for execution on Android

* 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.
This commit is contained in:
Po Lu 2025-02-25 19:12:37 +08:00
parent 93a185a1fb
commit 7da9d2d746
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
(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)

View file

@ -44,7 +44,7 @@ like that, we just skip the test.")
(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)