0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

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.
This commit is contained in:
Bram Moolenaar
2017-02-01 18:07:38 +01:00
parent b245559fa9
commit c386267ffe
2 changed files with 9 additions and 4 deletions

View File

@@ -2,9 +2,12 @@
" Always use "sh", don't use the value of "$SHELL". " Always use "sh", don't use the value of "$SHELL".
set shell=sh set shell=sh
" While some tests overwrite $HOME to prevent them from polluting user files, " Only when the +eval feature is present.
" we need to remember the original value so that we can tell external systems if 1
" where to ask about their own user settings. " While some tests overwrite $HOME to prevent them from polluting user files,
let g:tester_HOME = $HOME " 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 source setup.vim

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
285,
/**/ /**/
284, 284,
/**/ /**/