Skip to content

Commit f1ab9c1

Browse files
committed
patch 8.0.0278: GUI test fails on MS-Windows
Problem: GUI test fails on MS-Windows. Solution: Check that tester_HOME exists.
1 parent 56e6bd7 commit f1ab9c1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/testdir/test_gui.vim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ func SetUp()
1010
set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0
1111
endif
1212

13-
" Gnome insists on creating $HOME/.gnome2/, and we're going to abide by
14-
" that, taking care to have the font cache work normally.
15-
if $XDG_CACHE_HOME == ''
13+
" Gnome insists on creating $HOME/.gnome2/, set $HOME to avoid changing the
14+
" actual home directory. But avoid triggering fontconfig by setting the
15+
" cache directory. Only needed for Unix.
16+
if $XDG_CACHE_HOME == '' && exists('g:tester_HOME')
1617
let $XDG_CACHE_HOME = g:tester_HOME . '/.cache'
1718
endif
1819
call mkdir('Xhome')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
278,
767769
/**/
768770
277,
769771
/**/

0 commit comments

Comments
 (0)