diff src/testdir/runtest.vim @ 21253:ffa6b82fa993 v8.2.1177

patch 8.2.1177: terminal2 test sometimes hangs in the GUI Commit: https://github.com/vim/vim/commit/18aa13d13b69c090dbe186cd4939896488c433e3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 11 13:09:36 2020 +0200 patch 8.2.1177: terminal2 test sometimes hangs in the GUI Problem: Terminal2 test sometimes hangs in the GUI. Solution: Move some tests to other files to further locate the problem. Set the GUI to a fixed screen size.
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Jul 2020 13:15:04 +0200
parents ed35c81bce77
children 20dad734a2cb
line wrap: on
line diff
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -45,6 +45,11 @@
 " Without the +eval feature we can't run these tests, bail out.
 so small.vim
 
+" In the GUI we can always change the screen size.
+if has('gui_running')
+  set columns=80 lines=25
+endif
+
 " Check that the screen size is at least 24 x 80 characters.
 if &lines < 24 || &columns < 80 
   let error = 'Screen size too small! Tests require at least 24 lines with 80 characters, got ' .. &lines .. ' lines with ' .. &columns .. ' characters'