Skip to content

Commit c771908

Browse files
committed
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.
1 parent 16c6232 commit c771908

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SCRIPTSOURCE = ../../runtime
1212
# Comment out this line to see the verbose output of tests.
1313
#
1414
# Catches SwapExists to avoid hanging at the ATTENTION prompt.
15-
#REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null
15+
REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null
1616

1717
# Uncomment this line to use valgrind for memory leaks and extra warnings.
1818
# The output goes into a file "valgrind.testN"

src/testdir/summarize.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
set cpo&vim
12
if 1
23
" This is executed only with the eval feature
34
set nocompatible

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1441,
757759
/**/
758760
1440,
759761
/**/

0 commit comments

Comments
 (0)