vim-patch:8.1.0545: when executing indent tests user preferences interfere

Problem:    When executing indent tests user preferences interfere.
Solution:   Add "--clean".
dc2f73a698
This commit is contained in:
Daniel Hahler 2019-09-18 22:37:41 +02:00
parent 7f59f5b104
commit b466f0e114
2 changed files with 5 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 succeeds a testdir/*.out file will be written.
# If a test fails a testdir/*.fail file will be written. # If a test fails a testdir/*.fail file will be written.
test: test:
$(VIM) --not-a-term -u testdir/runtest.vim $(VIM) --clean --not-a-term -u testdir/runtest.vim
clean: 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 set nocp
filetype indent on filetype indent on