diff runtime/indent/Makefile @ 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 3f82f25df8d2
children e6fb5d39a24c
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