changeset 12156:ee8ead988f2c v8.0.0958

patch 8.0.0958: terminal test fails on Windows when winpty dll is missing commit https://github.com/vim/vim/commit/ea5d6fadbbba614e51e819cb537a3d52600bfcc5 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 18 21:07:11 2017 +0200 patch 8.0.0958: terminal test fails on Windows when winpty dll is missing Problem: The terminal test fails on MS-Windows when compiled with the terminal feature but the winpty DLL is missing. Solution: Check if the terminal feature works. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Fri, 18 Aug 2017 21:15:04 +0200
parents e5bb354c7177
children b1b1005905b9
files src/testdir/test_terminal.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -1,6 +1,6 @@
 " Tests for the terminal window.
 
-if !exists('*term_start')
+if !has('terminal')
   finish
 endif
 
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    958,
+/**/
     957,
 /**/
     956,