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

patch 8.0.0278: GUI test fails on MS-Windows

Problem:    GUI test fails on MS-Windows.
Solution:   Check that tester_HOME exists.
This commit is contained in:
Bram Moolenaar
2017-02-01 12:32:58 +01:00
parent 56e6bd7ba2
commit f1ab9c1370
2 changed files with 6 additions and 3 deletions

View File

@@ -10,9 +10,10 @@ func SetUp()
set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0 set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0
endif endif
" Gnome insists on creating $HOME/.gnome2/, and we're going to abide by " Gnome insists on creating $HOME/.gnome2/, set $HOME to avoid changing the
" that, taking care to have the font cache work normally. " actual home directory. But avoid triggering fontconfig by setting the
if $XDG_CACHE_HOME == '' " cache directory. Only needed for Unix.
if $XDG_CACHE_HOME == '' && exists('g:tester_HOME')
let $XDG_CACHE_HOME = g:tester_HOME . '/.cache' let $XDG_CACHE_HOME = g:tester_HOME . '/.cache'
endif endif
call mkdir('Xhome') call mkdir('Xhome')

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 */
/**/
278,
/**/ /**/
277, 277,
/**/ /**/