From 30700cd5ffa258f1d684ab6b34bd03e970450dba Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 10 Dec 2018 21:36:56 +0100 Subject: 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. --- runtime/indent/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime') diff --git a/runtime/indent/Makefile b/runtime/indent/Makefile index 3791f3348d..1917e46c6b 100644 --- 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 -- cgit v1.2.3