changeset 12230:42823852a212 v8.0.0995

patch 8.0.0995: terminal tests fail on Mac commit https://github.com/vim/vim/commit/753289f9bf71c0528f00d803a39d017184640e9d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 25 23:22:05 2017 +0200 patch 8.0.0995: terminal tests fail on Mac Problem: Terminal tests fail on Mac. Solution: Add workaround: sleep a moment in between sending keys.
author Christian Brabandt <cb@256bit.org>
date Fri, 25 Aug 2017 23:30:04 +0200
parents cbafdd1ac00f
children ccfa880d4773
files src/testdir/test_terminal.vim src/version.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -456,6 +456,11 @@ func Test_terminal_noblock()
 
   for c in ['a','b','c','d','e','f','g','h','i','j','k']
     call term_sendkeys(g:buf, 'echo ' . repeat(c, 5000) . "\<cr>")
+    if has('mac')
+      " TODO: this should not be needed, but without it sending keys blocks
+      " after 8000 chars or so.
+      sleep 100m
+    endif
   endfor
   call term_sendkeys(g:buf, "echo done\<cr>")
 
--- 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 */
 /**/
+    995,
+/**/
     994,
 /**/
     993,