changeset 15132:22e7834d286c v8.1.0576

patch 8.1.0576: indent script tests pick up installed scripts commit https://github.com/vim/vim/commit/30700cd5ffa258f1d684ab6b34bd03e970450dba Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 10 21:36:56 2018 +0100 patch 8.1.0576: indent script tests pick up installed scripts Problem: Indent script tests pick up installed scripts. Solution: Use current runtime indent scripts.
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Dec 2018 21:45:07 +0100
parents bc1a8d21c811
children b5c9b7b790cd
files runtime/indent/Makefile src/version.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/indent/Makefile
+++ b/runtime/indent/Makefile
@@ -1,13 +1,14 @@
 # Portable Makefile for running indent tests.
 
 VIM = vim
+VIMRUNTIME = ..
 
 # Run the tests that didn't run yet or failed previously.
 # If a test succeeds a testdir/*.out file will be written.
 # If a test fails a testdir/*.fail file will be written.
 test:
-	$(VIM) --clean --not-a-term -u testdir/runtest.vim
+	VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/runtest.vim
 
 
 clean:
-	$(VIM) --clean --not-a-term -u testdir/cleantest.vim
+	VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/cleantest.vim
--- 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 */
 /**/
+    576,
+/**/
     575,
 /**/
     574,