From: Bram Moolenaar Date: Wed, 1 Feb 2017 17:07:38 +0000 (+0100) Subject: patch 8.0.0285: tests fail with tiny build on Unix X-Git-Tag: v8.0.0285 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c386267ffe1eb7ddf11794ade4f97d8b6b534588;p=vim patch 8.0.0285: tests fail with tiny build on Unix Problem: Tests fail with tiny build on Unix. Solution: Only set g:tester_HOME when build with the +eval feature. --- 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 @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 285, /**/ 284, /**/