diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-13 19:42:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-13 19:42:39 +0200 |
commit | c771908681bc9ee7689d83e09104cf4c6f984326 (patch) | |
tree | 25dc7305562ee0077ad90e83aa978f68cf42b03f /src/testdir | |
parent | 16c6232cad40af37f37dc9c561392b7761b9e229 (diff) |
patch 8.2.1441: running tests in tiny version gives error for summarize.vimv8.2.1441
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.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/Makefile | 2 | ||||
-rw-r--r-- | src/testdir/summarize.vim | 1 |
2 files changed, 2 insertions, 1 deletions
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 |