# HG changeset patch # User Bram Moolenaar # Date 1687553104 -7200 # Node ID 1611a7d882242b97e04686faaa5a9d3a6dc53e0c # Parent 2b9489614f346290432b203c7766645b208123ec patch 9.0.1652: unclear why syntax test fails on Mac Commit: https://github.com/vim/vim/commit/bd32e8ad8d23737d022b3f3ae7540892ab279304 Author: Bram Moolenaar Date: Fri Jun 23 21:36:31 2023 +0100 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. diff --git a/runtime/syntax/testdir/runtest.vim b/runtime/syntax/testdir/runtest.vim --- a/runtime/syntax/testdir/runtest.vim +++ b/runtime/syntax/testdir/runtest.vim @@ -145,9 +145,16 @@ for fname in glob('input/*.*', 1, 1) call StopVimInTerminal(buf) 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 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 fail += 1 endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1652, +/**/ 1651, /**/ 1650,