From c96a2f3b887d9a1f850f0dacc92616bee11f966b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 6 Aug 2016 19:45:31 +0200 Subject: patch 7.4.2167 Problem: Small build can't run tests. Solution: Don't try setting 'packpath'. --- src/testdir/setup.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/testdir') diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim index dee3de2120..a02840158b 100644 --- a/src/testdir/setup.vim +++ b/src/testdir/setup.vim @@ -2,7 +2,9 @@ " Make sure 'runtimepath' and 'packpath' does not include $HOME. set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after -let &packpath = &rtp +if has('packages') + let &packpath = &rtp +endif " Only when the +eval feature is present. if 1 -- cgit v1.2.3