Subject: Re: bug#78730: 31.0.50; Some eglot test failures

From: Michael Albinus <[email-masked]>
Date: Mon, 09 Jun 2025 12:30:35 +0200

Michael Albinus <[email-masked]> writes:

Hi João,

> (skip-when (getenv "EMACS_EMBA_CI")) shall do. However, not all eglot
> tests fail due to a timeout.

What about this?

diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el
index 2b6e09a4d16..2b98da4134b 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -185,7 +185,9 @@ eglot--call-with-timeout
                 (funcall fn)))
       (cancel-timer timer)
       (when (eq retval timed-out)
-        (error "%s" (concat "Timed out " message))))))
+        (if (getenv "EMACS_EMBA_CI")
+            (ert-skip (concat "Timed out " message))
+          (error "%s" (concat "Timed out " message)))))))
 
 (defun eglot--find-file-noselect (file &optional noerror)
   (unless (or noerror

>> João

Best regards, Michael.