summaryrefslogtreecommitdiff
path: root/test/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-04-20 10:25:12 +0300
committerEli Zaretskii <eliz@gnu.org>2024-04-20 10:25:12 +0300
commitb93d568e47cd8c1a0e5f524d443287927f8a423c (patch)
tree2a6899a1ae6bbc1b69c3c2550abb2cf83db2b818 /test/lisp
parent42776dc5b7702cec2feb787fbf770d91623b9818 (diff)
downloademacs-b93d568e47cd8c1a0e5f524d443287927f8a423c.tar.gz
; On MS-Windows, skip eglot test that creates symlinks
* test/lisp/progmodes/eglot-tests.el (eglot-test-basic-symlink): Skip this test on MS-Windows.
Diffstat (limited to 'test/lisp')
-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 282e66f56a5..c4ca870fbe6 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -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(); }")