]> granicus.if.org Git - vim/commitdiff
patch 8.0.0285: tests fail with tiny build on Unix v8.0.0285
authorBram Moolenaar <Bram@vim.org>
Wed, 1 Feb 2017 17:07:38 +0000 (18:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 1 Feb 2017 17:07:38 +0000 (18:07 +0100)
Problem:    Tests fail with tiny build on Unix.
Solution:   Only set g:tester_HOME when build with the +eval feature.

src/testdir/unix.vim
src/version.c

index 2290ec9cbdb813f167e9cca81c6df97605a3edb2..b82c63c3898070c048a73f923d1926a182e0b348 100644 (file)
@@ -2,9 +2,12 @@
 " Always use "sh", don't use the value of "$SHELL".
 set shell=sh
 
-" While some tests overwrite $HOME to prevent them from polluting user files,
-" we need to remember the original value so that we can tell external systems
-" where to ask about their own user settings.
-let g:tester_HOME = $HOME
+" Only when the +eval feature is present. 
+if 1
+  " While some tests overwrite $HOME to prevent them from polluting user files,
+  " we need to remember the original value so that we can tell external systems
+  " where to ask about their own user settings.
+  let g:tester_HOME = $HOME
+endif
 
 source setup.vim
index 6b0953fdf7c4a1d0d36c83e38b6d221d97cd68d5..e47b0d3a538467bad01c8dd4114ba5be6bf3fa4c 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    285,
 /**/
     284,
 /**/