Patch 8.0.0277
Problem:    The GUI test may trigger fontconfig and take a long time.
Solution:   Set $XDG_CACHE_HOME. (Kazunobu Kuriyama)
Files:      src/testdir/unix.vim, src/testdir/test_gui.vim


*** ../vim-8.0.0276/src/testdir/unix.vim        2016-07-12 22:45:28.000000000 
+0200
--- src/testdir/unix.vim        2017-02-01 12:02:52.397419237 +0100
***************
*** 2,5 ****
--- 2,10 ----
  " Always use "sh", don't use the value of "$SHELL".
  set shell=sh
  
+ " 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
+ 
  source setup.vim
*** ../vim-8.0.0276/src/testdir/test_gui.vim    2016-08-09 22:52:49.000000000 
+0200
--- src/testdir/test_gui.vim    2017-02-01 12:02:52.397419237 +0100
***************
*** 10,16 ****
      set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0
    endif
  
!   " Gnome insists on creating $HOME/.gnome2/..
    call mkdir('Xhome')
    let $HOME = fnamemodify('Xhome', ':p')
  endfunc
--- 10,20 ----
      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 == ''
!     let $XDG_CACHE_HOME = g:tester_HOME . '/.cache'
!   endif
    call mkdir('Xhome')
    let $HOME = fnamemodify('Xhome', ':p')
  endfunc
*** ../vim-8.0.0276/src/version.c       2017-02-01 11:50:04.350267980 +0100
--- src/version.c       2017-02-01 12:04:28.140815126 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     277,
  /**/

-- 
If cars evolved at the same rate as computers have, they'd cost five euro, 
run for a year on a couple of liters of petrol, and explode once a day.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui