summaryrefslogtreecommitdiff
path: root/gnu/packages/vim.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-06-29 20:11:12 +0300
committerEfraim Flashner <efraim@flashner.co.il>2025-06-29 20:11:12 +0300
commitafdecd84641240e27d7a2d9c5ca9744f17986867 (patch)
tree176cece8fbc5af20dfc1fd6e333ffc732c7513ba /gnu/packages/vim.scm
parentbd0f8ecc5f4bf9d73f46b2df8b6b7de64b21f6c5 (diff)
gnu: vim: Update to 9.1.1492.
* gnu/packages/vim.scm (vim): Update to 9.1.1492. [arguments]: Adjust 'skip-or-fix-failing-tests for new failing tests. (vim-full)[arguments]: Add a phase to skip a test. Change-Id: I9f8d79476a7ecdf718feffad1f75788f2ac60ed2
Diffstat (limited to 'gnu/packages/vim.scm')
-rw-r--r--gnu/packages/vim.scm22
1 files changed, 16 insertions, 6 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 4ffaab4cfc3..7512f1ceb5a 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -87,7 +87,7 @@
87(define-public vim 87(define-public vim
88 (package 88 (package
89 (name "vim") 89 (name "vim")
90 (version "9.1.1046") 90 (version "9.1.1492")
91 (source (origin 91 (source (origin
92 (method git-fetch) 92 (method git-fetch)
93 (uri (git-reference 93 (uri (git-reference
@@ -96,7 +96,7 @@
96 (file-name (git-file-name name version)) 96 (file-name (git-file-name name version))
97 (sha256 97 (sha256
98 (base32 98 (base32
99 "0zfpqx0caczy0gq3xvbkv328z7xq76jbx52vhq8x8l6nqzpyjzbc")))) 99 "0f85psiqf62gbgqfzk09v1rqjs4mjf006j1735vydhcc3x9i9div"))))
100 (build-system gnu-build-system) 100 (build-system gnu-build-system)
101 (arguments 101 (arguments
102 `(#:test-target "test" 102 `(#:test-target "test"
@@ -137,7 +137,7 @@
137 137
138 ;; These tests crash the build environment. 138 ;; These tests crash the build environment.
139 (substitute* "src/testdir/Make_all.mak" 139 (substitute* "src/testdir/Make_all.mak"
140 ((".*test_glvs.*") "")) 140 ((".*test_plugin_glvs.*") ""))
141 141
142 ;; These tests check how the terminal looks after executing some 142 ;; These tests check how the terminal looks after executing some
143 ;; actions. The path of the bash binary is shown, which results in 143 ;; actions. The path of the bash binary is shown, which results in
@@ -164,9 +164,13 @@
164 ;; No setfattr in the build environment. 164 ;; No setfattr in the build environment.
165 ((".*Test_write_with_xattr_support.*" line) 165 ((".*Test_write_with_xattr_support.*" line)
166 (string-append line "return\n")))) 166 (string-append line "return\n"))))
167 ;; These two depend on full bash. 167 ;; These depend on full bash.
168 (delete-file "runtime/syntax/testdir/input/sh_11.sh") 168 (with-directory-excursion "runtime/syntax/testdir/input"
169 (delete-file "runtime/syntax/testdir/input/sh_12.sh"))) 169 (for-each delete-file
170 (list "sh_11.sh"
171 "sh_12.sh"
172 "sh_14.sh"
173 "sh_sundrous.bash")))))
170 (add-before 'install 'fix-installman.sh 174 (add-before 'install 'fix-installman.sh
171 (lambda _ 175 (lambda _
172 (substitute* "src/installman.sh" 176 (substitute* "src/installman.sh"
@@ -247,6 +251,12 @@ with the editor vim.")))
247 ,@(substitute-keyword-arguments (package-arguments vim) 251 ,@(substitute-keyword-arguments (package-arguments vim)
248 ((#:phases phases) 252 ((#:phases phases)
249 `(modify-phases ,phases 253 `(modify-phases ,phases
254 (add-before 'check 'skip-some-more-tests
255 (lambda _
256 ;; Fontconfig can't figure out its cache directory
257 (substitute* "src/testdir/test_startup.vim"
258 ((".*Test_progname.*" line)
259 (string-append line "return\n")))))
250 (add-before 'check 'start-xserver 260 (add-before 'check 'start-xserver
251 (lambda* (#:key inputs #:allow-other-keys) 261 (lambda* (#:key inputs #:allow-other-keys)
252 ;; Some tests require an X server, but does not start one. 262 ;; Some tests require an X server, but does not start one.