changeset 9784:60a06c331524 v7.4.2167

commit https://github.com/vim/vim/commit/c96a2f3b887d9a1f850f0dacc92616bee11f966b Author: Bram Moolenaar <Bram@vim.org> 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'.
author Christian Brabandt <cb@256bit.org>
date Sat, 06 Aug 2016 20:00:07 +0200
parents ce8708b12131
children 6c19fecc82d6
files src/testdir/setup.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,