# HG changeset patch # User Christian Brabandt # Date 1470506407 -7200 # Node ID 60a06c3315242f9a3df77d4d13e57a3884b9e611 # Parent ce8708b12131cef486d58358b2ea778ba7333cce commit https://github.com/vim/vim/commit/c96a2f3b887d9a1f850f0dacc92616bee11f966b Author: Bram Moolenaar Date: Sat Aug 6 19:45:31 2016 +0200 patch 7.4.2167 Problem: Small build can't run tests. Solution: Don't try setting 'packpath'. diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim --- 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2167, +/**/ 2166, /**/ 2165,