Skip to content

Commit

Permalink
patch 8.1.0545: when executing indent tests user preferences interfere
Browse files Browse the repository at this point in the history
Problem:    When executing indent tests user preferences interfere.
Solution:   Add "--clean".
  • Loading branch information
brammool committed Nov 25, 2018
1 parent b730f0c commit dc2f73a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runtime/indent/Makefile
Expand Up @@ -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
4 changes: 3 additions & 1 deletion runtime/indent/testdir/runtest.vim
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -792,6 +792,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
545,
/**/
544,
/**/
Expand Down

0 comments on commit dc2f73a

Please sign in to comment.