]> granicus.if.org Git - vim/commitdiff
patch 8.1.2239: CI fails when running tests without building Vim v8.1.2239
authorBram Moolenaar <Bram@vim.org>
Sat, 2 Nov 2019 17:22:08 +0000 (18:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 2 Nov 2019 17:22:08 +0000 (18:22 +0100)
Problem:    CI fails when running tests without building Vim.
Solution:   Skip creating doc tags if the execute does not exist.

runtime/doc/Makefile
src/version.c

index 443a27a618b7a7d729fe6bfe12bea096eea23c50..57aec4e3c62c8960a34bac850b63495b8cea3de6 100644 (file)
@@ -323,7 +323,8 @@ all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
 # Use Vim to generate the tags file.  Can only be used when Vim has been
 # compiled and installed.  Supports multiple languages.
 vimtags: $(DOCS)
-       $(VIMEXE) -eX -u doctags.vim
+       @if test -x $(VIMEXE); then $(VIMEXE) -eX -u doctags.vim; \
+               else echo "vim executable $(VIMEXE) not found"; fi
 
 # Use "doctags" to generate the tags file.  Only works for English!
 tags: doctags $(DOCS)
index e1d5c64601d02264d91921b916693f7cd50d9a82..d0f62e9ced5004ff1467ee6459ce8fd3b9b05b72 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2239,
 /**/
     2238,
 /**/