# HG changeset patch # User Bram Moolenaar # Date 1597340704 -7200 # Node ID 483dc3fd596cb5550490d512ed23f056dca50208 # Parent 7e8a601da8416d0761073faddf0effb1483065cc patch 8.2.1441: running tests in tiny version gives error for summarize.vim Commit: https://github.com/vim/vim/commit/c771908681bc9ee7689d83e09104cf4c6f984326 Author: Bram Moolenaar Date: Thu Aug 13 19:42:39 2020 +0200 patch 8.2.1441: running tests in tiny version gives error for summarize.vim Problem: Running tests in tiny version gives error for summarize.vim. Solution: Set 'cpoptions' to allow for line continuation. Restore redirecting test output to /dev/null. diff --git a/src/testdir/Makefile b/src/testdir/Makefile --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -12,7 +12,7 @@ SCRIPTSOURCE = ../../runtime # Comment out this line to see the verbose output of tests. # # Catches SwapExists to avoid hanging at the ATTENTION prompt. -#REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null +REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null # Uncomment this line to use valgrind for memory leaks and extra warnings. # The output goes into a file "valgrind.testN" diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim --- a/src/testdir/summarize.vim +++ b/src/testdir/summarize.vim @@ -1,3 +1,4 @@ +set cpo&vim if 1 " This is executed only with the eval feature set nocompatible diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1441, +/**/ 1440, /**/ 1439,