]> granicus.if.org Git - vim/commitdiff
patch 8.1.0576: indent script tests pick up installed scripts v8.1.0576
authorBram Moolenaar <Bram@vim.org>
Mon, 10 Dec 2018 20:36:56 +0000 (21:36 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 10 Dec 2018 20:36:56 +0000 (21:36 +0100)
Problem:    Indent script tests pick up installed scripts.
Solution:   Use current runtime indent scripts.

runtime/indent/Makefile
src/version.c

index 3791f3348d8a2570e8ee28405ba526736b2aa19f..1917e46c6b06b03174d07ac4f642239462bc7242 100644 (file)
@@ -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
index 981d9187c4157762a306592823b5bc5415007997..29fdfb2dd93c194ed1b5c25bfb5c6ee6717db567 100644 (file)
@@ -792,6 +792,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    576,
 /**/
     575,
 /**/