Permalink
Browse files

patch 8.0.0278: GUI test fails on MS-Windows

Problem:    GUI test fails on MS-Windows.
Solution:   Check that tester_HOME exists.
  • Loading branch information...
brammool committed Feb 1, 2017
1 parent 56e6bd7 commit f1ab9c137060a4d3aa1e69bcbbed02342cd746a3
Showing with 6 additions and 3 deletions.
  1. +4 −3 src/testdir/test_gui.vim
  2. +2 −0 src/version.c
View
@@ -10,9 +10,10 @@ func SetUp()
set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0
endif
- " Gnome insists on creating $HOME/.gnome2/, and we're going to abide by
- " that, taking care to have the font cache work normally.
- if $XDG_CACHE_HOME == ''
+ " Gnome insists on creating $HOME/.gnome2/, set $HOME to avoid changing the
+ " actual home directory. But avoid triggering fontconfig by setting the
+ " cache directory. Only needed for Unix.
+ if $XDG_CACHE_HOME == '' && exists('g:tester_HOME')
let $XDG_CACHE_HOME = g:tester_HOME . '/.cache'
endif
call mkdir('Xhome')
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 278,
/**/
277,
/**/

0 comments on commit f1ab9c1

Please sign in to comment.