diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-11 13:09:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-11 13:09:36 +0200 |
commit | 18aa13d13b69c090dbe186cd4939896488c433e3 (patch) | |
tree | 98312d7e987fccb760666112ec0066c8f8886aad /src/testdir/runtest.vim | |
parent | 543e6f3467f208930a5d7fadb82133334bf31356 (diff) | |
download | vim-git-18aa13d13b69c090dbe186cd4939896488c433e3.tar.gz |
patch 8.2.1177: terminal2 test sometimes hangs in the GUIv8.2.1177
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.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index fdf99ce1a..3f412c342 100644 --- 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' |