commit | fc4ad616073a169badfb2b9906fee2844f76f730 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 09 15:38:32 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 09 15:38:32 2016 +0200 |
tree | 5eb84c0a9bd1bf140532d4b85fc9a29ec5590e23 | |
parent | 30445cb6e94698d212ba866ef3e4022ac625540a [diff] [blame] |
patch 7.4.2007 Problem: Running the tests leaves a viminfo file behind. Solution: Make the viminfo option empty.
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 57edcc1..c094da0 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim
@@ -149,6 +149,9 @@ endif endfor +" Don't write viminfo on exit. +set viminfo= + if s:fail == 0 " Success, create the .res file so that make knows it's done. exe 'split ' . fnamemodify(g:testname, ':r') . '.res'