From: Bram Moolenaar Date: Thu, 13 Aug 2020 17:42:39 +0000 (+0200) Subject: patch 8.2.1441: running tests in tiny version gives error for summarize.vim X-Git-Tag: v8.2.1441 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c771908681bc9ee7689d83e09104cf4c6f984326;p=thirdparty%2Fvim.git 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 index 42eb7f5569..7033d1e46e 100644 --- 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 index 7f8f758a71..da5856a2e7 100644 --- 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 index dc72eb1dd2..877ba49020 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1441, /**/ 1440, /**/