]> granicus.if.org Git - vim/commitdiff
patch 8.1.0545: when executing indent tests user preferences interfere v8.1.0545
authorBram Moolenaar <Bram@vim.org>
Sun, 25 Nov 2018 03:03:09 +0000 (04:03 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 25 Nov 2018 03:03:09 +0000 (04:03 +0100)
Problem:    When executing indent tests user preferences interfere.
Solution:   Add "--clean".

runtime/indent/Makefile
runtime/indent/testdir/runtest.vim
src/version.c

index fa81db047019da4c8e4f2a4b5f1a54f1d2b12167..3791f3348d8a2570e8ee28405ba526736b2aa19f 100644 (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
index 5d36512f946ec3e34bd0bbb0755afe4dc9638246..1cc0d3f716813a3eabbae52dda81a7edf08e6abf 100644 (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
index da6243b46f541c6e907769fe297a2176ff3a5bd3..42ce472dc5583a8b5a8ddf7bca44fd7261e777ac 100644 (file)
@@ -792,6 +792,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    545,
 /**/
     544,
 /**/