aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJoão Távora2025-01-23 11:20:38 +0000
committerJoão Távora2025-01-23 15:52:07 +0000
commitc888e726ca9092fedd98e80e40c28b0fa54a34be (patch)
tree1481f403346184debf5d1015ac4472c1affa5ce2 /test
parentd83d090de1127d6e88e4ff33a617d8621a85a8cd (diff)
downloademacs-c888e726ca9092fedd98e80e40c28b0fa54a34be.tar.gz
emacs-c888e726ca9092fedd98e80e40c28b0fa54a34be.zip
Eglot: skip Tramp tests except on Emacs 28+
* test/lisp/progmodes/eglot-tests.el (eglot--call-with-tramp-test): Fix
Diffstat (limited to 'test')
-rw-r--r--test/lisp/progmodes/eglot-tests.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el
index cc269abea08..eec076da723 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -1421,6 +1421,8 @@ GUESSED-MAJOR-MODES-SYM are bound to the useful return values of
1421 1421
1422(defvar tramp-histfile-override) 1422(defvar tramp-histfile-override)
1423(defun eglot--call-with-tramp-test (fn) 1423(defun eglot--call-with-tramp-test (fn)
1424 (unless (>= emacs-major-version 28)
1425 (ert-skip "Tramp tests only work reliably on Emacs 28+"))
1424 ;; Set up a Tramp method that’s just a shell so the remote host is 1426 ;; Set up a Tramp method that’s just a shell so the remote host is
1425 ;; really just the local host. 1427 ;; really just the local host.
1426 (let* ((tramp-remote-path (cons 'tramp-own-remote-path 1428 (let* ((tramp-remote-path (cons 'tramp-own-remote-path