mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
Problem: Tests fail with tiny build on Unix. Solution: Only set g:tester_HOME when build with the +eval feature.
14 lines
411 B
VimL
14 lines
411 B
VimL
" Settings for test script execution
|
|
" Always use "sh", don't use the value of "$SHELL".
|
|
set shell=sh
|
|
|
|
" 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
|