]> git.eshelyaron.com Git - emacs.git/commitdiff
; On MS-Windows, skip eglot test that creates symlinks
authorEli Zaretskii <eliz@gnu.org>
Sat, 20 Apr 2024 07:25:12 +0000 (10:25 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Apr 2024 11:11:02 +0000 (14:11 +0300)
* test/lisp/progmodes/eglot-tests.el (eglot-test-basic-symlink):
Skip this test on MS-Windows.

(cherry picked from commit b93d568e47cd8c1a0e5f524d443287927f8a423c)

test/lisp/progmodes/eglot-tests.el

index 282e66f56a5d415d4fbfa404257f4a1e1d11f59b..c4ca870fbe6ada6d8aba7508fe837981d1441e92 100644 (file)
@@ -439,6 +439,8 @@ directory hierarchy."
 (ert-deftest eglot-test-basic-symlink ()
   "Test basic symlink support."
   (skip-unless (executable-find "clangd"))
+  ;; MS-Windows either fails symlink creation or pops up UAC prompts.
+  (skip-when (eq system-type 'windows-nt))
   (eglot--with-fixture
       `(("symlink-project" .
          (("main.cpp" . "#include\"foo.h\"\nint main() { return foo(); }")