summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-01 18:07:38 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-01 18:07:38 +0100
commitc386267ffe1eb7ddf11794ade4f97d8b6b534588 (patch)
tree6f195d2150849e6ca0fb90d5ff7012f216c983d0
parentb245559fa9b03bfb0d0f77023120e60d870f0b56 (diff)
downloadvim-git-c386267ffe1eb7ddf11794ade4f97d8b6b534588.tar.gz
patch 8.0.0285: tests fail with tiny build on Unixv8.0.0285
Problem: Tests fail with tiny build on Unix. Solution: Only set g:tester_HOME when build with the +eval feature.
-rw-r--r--src/testdir/unix.vim11
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 4 deletions
diff --git a/src/testdir/unix.vim b/src/testdir/unix.vim
index 2290ec9cb..b82c63c38 100644
--- a/src/testdir/unix.vim
+++ b/src/testdir/unix.vim
@@ -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
diff --git a/src/version.c b/src/version.c
index 6b0953fdf..e47b0d3a5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 285,
+/**/
284,
/**/
283,