]> git.eshelyaron.com Git - emacs.git/commitdiff
emacsclient-tests: add some debug statements
authorGlenn Morris <rgm@gnu.org>
Mon, 4 Sep 2017 16:21:24 +0000 (09:21 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 4 Sep 2017 16:21:24 +0000 (09:21 -0700)
* test/lib-src/emacsclient-tests.el
(emacsclient-test-call-emacsclient): Add debug statements.

test/lib-src/emacsclient-tests.el

index 61ead4f0f32da148ca264b1bfd7a98c9ee6cd0a4..dce1c89f86ba5487a21c3ba9e611f96464aecbeb 100644 (file)
@@ -35,6 +35,9 @@
 
 (defun emacsclient-test-call-emacsclient ()
   "Run emacsclient."
+  (when (getenv "EMACS_HYDRA_CI")
+    (message "emacsclient-test-emacs: %s" emacsclient-test-emacs)
+    (message "ALTERNATE_EDITOR: %s" (getenv "ALTERNATE_EDITOR")))
   (call-process emacsclient-test-emacs nil nil nil
                 "--server-file" (expand-file-name "non-existent-file" invocation-directory)
                 "foo"))