summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-04 21:40:36 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-04 21:40:36 +0200
commit763209c57bf50ae777f9c2929eeea01eff7ae6ee (patch)
treee68a1358346cd7642369658065e845689ca0237b
parent1615b36b91b094263240d7b555283ddf33208f62 (diff)
downloadvim-git-763209c57bf50ae777f9c2929eeea01eff7ae6ee.tar.gz
patch 8.0.0617: hardcopy test hangs on MS-Windowsv8.0.0617
Problem: Hardcopy test hangs on MS-Windows. Solution: Check the postscript feature is supported.
-rw-r--r--src/testdir/test_hardcopy.vim14
-rw-r--r--src/version.c2
2 files changed, 10 insertions, 6 deletions
diff --git a/src/testdir/test_hardcopy.vim b/src/testdir/test_hardcopy.vim
index 2a316d4f0..07bb2479b 100644
--- 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
diff --git a/src/version.c b/src/version.c
index eb4694859..4fddbb924 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 617,
+/**/
616,
/**/
615,