aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-09-18 22:38:07 +0200
committerDaniel Hahler <git@thequod.de>2019-09-18 22:38:15 +0200
commit865aaa031a06fca61d717621a26906cef42732d1 (patch)
tree3eb668c4062b1252c8937902686137b86ab904aa
parentb466f0e1141fd09847c9763aaa2d02de770e299d (diff)
downloadrneovim-865aaa031a06fca61d717621a26906cef42732d1.tar.gz
rneovim-865aaa031a06fca61d717621a26906cef42732d1.tar.bz2
rneovim-865aaa031a06fca61d717621a26906cef42732d1.zip
vim-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. https://github.com/vim/vim/commit/30700cd5ffa258f1d684ab6b34bd03e970450dba
-rw-r--r--runtime/indent/Makefile5
1 files changed, 3 insertions, 2 deletions
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