From 35cdbcc27aee2eb5d8e2aeb512feb1115940d239 Mon Sep 17 00:00:00 2001 From: ichizok Date: Sat, 1 Jun 2019 00:55:09 +0900 Subject: [PATCH] Workaround: Omit 'fullscreen' option test Doing 'set fullscreen' and 'set nofullscreen' at once doesn't work properly: the values of "&lines" and "&columns" are restored, but the fullscreen is kept on actually and thus affects 'writedelay' test performance. --- src/testdir/gen_opt_test.vim | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim index 942f7f9995..76ce761902 100644 --- a/src/testdir/gen_opt_test.vim +++ b/src/testdir/gen_opt_test.vim @@ -188,10 +188,12 @@ while 1 endif if len(a[0]) > 0 || len(a[1]) > 0 if line =~ 'P_BOOL' - call add(script, 'set ' . name) - call add(script, 'set ' . shortname) - call add(script, 'set no' . name) - call add(script, 'set no' . shortname) + if name != 'fullscreen' + call add(script, 'set ' . name) + call add(script, 'set ' . shortname) + call add(script, 'set no' . name) + call add(script, 'set no' . shortname) + endif else for val in a[0] call add(script, 'set ' . name . '=' . val)