Michael Albinus <michael.albinus@gmx.de> writes:
Hi,
> FTR, I have changed test/infra/Dockerfile.emba to install also clangd on
> the server. This shall enable some of the Eglot tests, which are skipped
> at all ATM. Pushed to the emacs-29 branch.
This has been extended for the master branch. On EMBA, there are now two
jobs build-image-eglot and test-eglot, which run in every scheduled
pipeline for the master branch. See for example
<https://emba.gnu.org/emacs/emacs/-/jobs/65322> and
<https://emba.gnu.org/emacs/emacs/-/jobs/65324>. The result,
eglot-tests.log from the latter job, can be retrieved as artifact via
<https://emba.gnu.org/emacs/emacs/-/jobs/65324/artifacts/download>.
While 36 (of 50) tests pass, we have also one failing and 13 skipped jobs:
--8<---------------cut here---------------start------------->8---
Ran 50 tests, 36 results as expected, 1 unexpected, 13 skipped (2023-03-29 14:07:00+0000, 75.388590 sec)
1 unexpected results:
FAILED eglot-test-multiline-eldoc "eglot--tests-force-full-eldoc didn't deliver"
13 skipped results:
SKIPPED eglot-test-eclipse-connect ((skip-unless (executable-find "jdtls")) :form (executable-find "jdtls") :value nil)
SKIPPED eglot-test-javascript-basic ((skip-unless (and (executable-find "typescript-language-server") (executable-find "tsserver"))) :form (and (executable-find "typescript-language-server") (executable-find "tsserver")) :value nil)
SKIPPED eglot-test-json-basic ((skip-unless (executable-find "vscode-json-languageserver")) :form (executable-find "vscode-json-languageserver") :value nil)
SKIPPED eglot-test-path-to-uri-windows ((skip-unless (eq system-type 'windows-nt)) :form (eq gnu/linux windows-nt) :value nil)
SKIPPED eglot-test-project-wide-diagnostics-rust-analyzer ((skip-unless (executable-find "rust-analyzer")) :form (executable-find "rust-analyzer") :value nil)
SKIPPED eglot-test-project-wide-diagnostics-typescript ((skip-unless (and (executable-find "typescript-language-server") (executable-find "tsserver"))) :form (and (executable-find "typescript-language-server") (executable-find "tsserver")) :value nil)
SKIPPED eglot-test-python-autopep-formatting ((skip-unless (and (executable-find "pylsp") (executable-find "autopep8"))) :form (and (executable-find "pylsp") (executable-find "autopep8")) :value nil)
SKIPPED eglot-test-python-yapf-formatting ((skip-unless (and (executable-find "pylsp") (not (executable-find "autopep8")) (or (executable-find "yapf") (executable-find "yapf3")))) :form (and (executable-find "pylsp") (not (executable-find "autopep8")) (or (executable-find "yapf") (executable-find "yapf3"))) :value nil)
SKIPPED eglot-test-rust-analyzer-hover-after-edit ((skip-unless (executable-find "rust-analyzer")) :form (executable-find "rust-analyzer") :value nil)
SKIPPED eglot-test-rust-analyzer-watches-files ((skip-unless (executable-find "rust-analyzer")) :form (executable-find "rust-analyzer") :value nil)
SKIPPED eglot-test-rust-on-type-formatting ((skip-unless (executable-find "rust-analyzer")) :form (executable-find "rust-analyzer") :value nil)
SKIPPED eglot-test-snippet-completions ((skip-unless (and (executable-find "pylsp") (functionp 'yas-minor-mode))) :form (and (executable-find "pylsp") (functionp 'yas-minor-mode)) :value nil)
SKIPPED eglot-test-snippet-completions-with-company ((skip-unless (and (executable-find "pylsp") (functionp 'yas-minor-mode) (functionp 'company-complete))) :form (and (executable-find "pylsp") (functionp 'yas-minor-mode) (functionp 'company-complete)) :value nil)
--8<---------------cut here---------------end--------------->8---
Could somebody check why the test eglot-test-multiline-eldoc fails? And
are there recipes how to install the missing dependencies in Debian
bullseye, in order to activate the missing tests? I've digged for
recipes of clangd and pylisp (see test/infra/Dockerfile.emba target
emacs-eglot); doing it for the other dependencies would be too much for
me.
Best regards, Michael.