changeset 21783:483dc3fd596c v8.2.1441

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 <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Aug 2020 19:45:04 +0200
parents 7e8a601da841
children a6db2792aefe
files src/testdir/Makefile src/testdir/summarize.vim src/version.c
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"
--- 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
--- 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,