Mercurial > vim
changeset 11467:9ca1c9997863 v8.0.0617
patch 8.0.0617: hardcopy test hangs on MS-Windows
commit https://github.com/vim/vim/commit/763209c57bf50ae777f9c2929eeea01eff7ae6ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 4 21:40:36 2017 +0200
patch 8.0.0617: hardcopy test hangs on MS-Windows
Problem: Hardcopy test hangs on MS-Windows.
Solution: Check the postscript feature is supported.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Jun 2017 21:45:03 +0200 |
parents | 0e0fc3272dd9 |
children | 4c3e993731a3 |
files | src/testdir/test_hardcopy.vim src/version.c |
diffstat | 2 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_hardcopy.vim +++ b/src/testdir/test_hardcopy.vim @@ -62,10 +62,12 @@ func Test_with_syntax() endfunc func Test_fname_with_spaces() - split t\ e\ s\ t.txt - call setline(1, ['just', 'some', 'text']) - hardcopy > %.ps - call assert_true(filereadable('t e s t.txt.ps')) - call delete('t e s t.txt.ps') - bwipe! + if has('postscript') + split t\ e\ s\ t.txt + call setline(1, ['just', 'some', 'text']) + hardcopy > %.ps + call assert_true(filereadable('t e s t.txt.ps')) + call delete('t e s t.txt.ps') + bwipe! + endif endfunc