]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1649: syntax test failure causes script to abort v9.0.1649
authorBram Moolenaar <Bram@vim.org>
Thu, 22 Jun 2023 22:04:11 +0000 (23:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 22 Jun 2023 22:04:11 +0000 (23:04 +0100)
Problem:    Syntax test failure causes script to abort.
Solution:   Fix appending string to list.

runtime/syntax/testdir/runtest.vim
src/version.c

index 9e2739f0aec4961245d83bb68043d03eead7ed67..27b766474d940ff74e2e8e2e8e4b9d8be82d0e8f 100644 (file)
@@ -163,7 +163,7 @@ for fname in glob('input/*.*', 1, 1)
 
       call delete('done/' .. root)
 
-      call failed_tests->extend(root)
+      eval failed_tests->add(root)
       if len(failed_tests) > MAX_FAILED_COUNT
        call Message('')
        call Message('Too many errors, aborting')
index 191bf506cf2fb1e7b3e5e871e705300bf1196e57..5535b9a3570468a0d01ff7bd635faf1ee827b524 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1649,
 /**/
     1648,
 /**/