changeset 15069:3f82f25df8d2 v8.1.0545

patch 8.1.0545: when executing indent tests user preferences interfere commit https://github.com/vim/vim/commit/dc2f73a6980be13c97a83047d0de50824bc0f20f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 25 04:03:09 2018 +0100 patch 8.1.0545: when executing indent tests user preferences interfere Problem: When executing indent tests user preferences interfere. Solution: Add "--clean".
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Nov 2018 04:15:05 +0100
parents d9d97b8afe0d
children e041d2747f62
files runtime/indent/Makefile runtime/indent/testdir/runtest.vim src/version.c
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/indent/Makefile
+++ b/runtime/indent/Makefile
@@ -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
--- a/runtime/indent/testdir/runtest.vim
+++ b/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
--- a/src/version.c
+++ b/src/version.c
@@ -793,6 +793,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    545,
+/**/
     544,
 /**/
     543,