0
0
mirror of https://github.com/vim/vim.git synced 2025-07-25 10:54:51 -04:00

patch 9.0.1652: unclear why syntax test fails on Mac

Problem:    Unclear why syntax test fails on Mac.
Solution:   Echo v:errors when it's not empty.
This commit is contained in:
Bram Moolenaar 2023-06-23 21:36:31 +01:00
parent 10c1dbc06a
commit bd32e8ad8d
2 changed files with 10 additions and 1 deletions

View File

@ -145,9 +145,16 @@ for fname in glob('input/*.*', 1, 1)
call StopVimInTerminal(buf) call StopVimInTerminal(buf)
call delete('Xtestscript') call delete('Xtestscript')
" Add any assert errors to s:messages " redraw here to avoid the following messages to get mixed up with screen
" output.
redraw
" Add any assert errors to s:messages.
if len(v:errors) > 0 if len(v:errors) > 0
call extend(s:messages, v:errors) call extend(s:messages, v:errors)
" Echo the errors here, in case the script aborts or the "messages" file
" is not displayed later.
echomsg v:errors
let v:errors = [] let v:errors = []
let fail += 1 let fail += 1
endif endif

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1652,
/**/ /**/
1651, 1651,
/**/ /**/