diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-29 20:39:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-29 20:39:53 +0200 |
commit | d1ee0043c0360f6b504c0283edd2a844ef73a349 (patch) | |
tree | 5199fdd43e69a8dcd7709117592fe9a601df936e /src/testdir/runtest.vim | |
parent | 91d348abfc0d7ac9b5b19cde0112de8ae4335602 (diff) | |
download | vim-git-d1ee0043c0360f6b504c0283edd2a844ef73a349.tar.gz |
patch 8.0.0805: GUI test fails with gnome2v8.0.0805
Problem: GUI test fails with gnome2.
Solution: Set $HOME to an existing directory.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 0256d4899..c57ec5f64 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -158,6 +158,9 @@ func FinishTesting() " Don't write viminfo on exit. set viminfo= + " Clean up files created by setup.vim + call delete('XfakeHOME', 'rf') + if s:fail == 0 " Success, create the .res file so that make knows it's done. exe 'split ' . fnamemodify(g:testname, ':r') . '.res' |