1
0
forked from aniani/vim

patch 8.1.0545: when executing indent tests user preferences interfere

Problem:    When executing indent tests user preferences interfere.
Solution:   Add "--clean".
This commit is contained in:
Bram Moolenaar 2018-11-25 04:03:09 +01:00
parent b730f0c7ba
commit dc2f73a698
3 changed files with 7 additions and 3 deletions

View File

@ -6,8 +6,8 @@ VIM = vim
# If a test succeeds a testdir/*.out file will be written.
# If a test fails a testdir/*.fail file will be written.
test:
$(VIM) --not-a-term -u testdir/runtest.vim
$(VIM) --clean --not-a-term -u testdir/runtest.vim
clean:
$(VIM) --not-a-term -u testdir/cleantest.vim
$(VIM) --clean --not-a-term -u testdir/cleantest.vim

View File

@ -1,4 +1,6 @@
" Runs all the indent tests for which there is no .out file
" Runs all the indent tests for which there is no .out file.
"
" Current directory must be runtime/indent.
set nocp
filetype indent on

View File

@ -792,6 +792,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
545,
/**/
544,
/**/