]> granicus.if.org Git - vim/commitdiff
patch 8.0.0430: options test fails or hangs on MS-Windows v8.0.0430
authorBram Moolenaar <Bram@vim.org>
Tue, 7 Mar 2017 23:01:35 +0000 (00:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 7 Mar 2017 23:01:35 +0000 (00:01 +0100)
Problem:    Options test fails or hangs on MS-Windows.
Solution:   Run it separately instead of part of test_alot.  Use "-S" instead
            of "-u" to run the script.  Fix failures.

src/testdir/Make_all.mak
src/testdir/Make_dos.mak
src/testdir/Make_ming.mak
src/testdir/Makefile
src/testdir/gen_opt_test.vim
src/testdir/test_alot.vim
src/version.c

index 53fb8292820d9a635ed2f2555a83260d67f506e5..a0f0036f3c429969dbbd3aa555ef78abeb9d20a8 100644 (file)
@@ -181,6 +181,7 @@ NEW_TESTS = test_arabic.res \
            test_netbeans.res \
            test_normal.res \
            test_number.res \
+           test_options.res \
            test_packadd.res \
            test_paste.res \
            test_perl.res \
index 406d56afedeffbeb7e4c04b6f3d29aef2c186b79..0e7b461d772e004dfa84e75ef21efd90d2a7f157 100644 (file)
@@ -130,4 +130,4 @@ test_gui_init.res: test_gui_init.vim
        @del vimcmd
 
 opt_test.vim: ../option.c gen_opt_test.vim
-       $(VIMPROG) -u gen_opt_test.vim --noplugin --not-a-term ../option.c
+       $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
index b95a6eaa78f2fde20fcfcbe5e85cf4ef3badddeb..ad4697d723113906cc41999b26293fd0b2e66881 100644 (file)
@@ -133,4 +133,4 @@ test_gui_init.res: test_gui_init.vim
        @$(DEL) vimcmd
 
 opt_test.vim: ../option.c gen_opt_test.vim
-       $(VIMPROG) -u gen_opt_test.vim --noplugin --not-a-term ../option.c
+       $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
index d464d67aa6a2ea17c63423cc1ea76bac6041575c..ca8597fe7363e47e1106b26b7d888f7f9d216306 100644 (file)
@@ -142,4 +142,4 @@ test_gui_init.res: test_gui_init.vim
        @rm vimcmd
 
 opt_test.vim: ../option.c gen_opt_test.vim
-       $(VIMPROG) -u gen_opt_test.vim --noplugin --not-a-term ../option.c
+       $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
index 1187dd5963f813118da8f8fe01622369ab237128..4701981ee82d84a32a8856674369a9cee27edef9 100644 (file)
@@ -13,7 +13,6 @@ let script = [
       \ 'let save_term = &term',
       \ ]
 
-edit
 /#define p_term
 let end = line('.')
 
@@ -30,6 +29,7 @@ let test_values = {
       \ 'iminsert': [[0, 1], [-1, 3, 999]],
       \ 'imsearch': [[-1, 0, 1], [-2, 3, 999]],
       \ 'lines': [[2, 24], [-1, 0, 1]],
+      \ 'linespace': [[0, 2, 4], ['']],
       \ 'numberwidth': [[1, 4, 8, 10], [-1, 0, 11]],
       \ 'regexpengine': [[0, 1, 2], [-1, 3, 999]],
       \ 'report': [[0, 1, 2, 9999], [-1]],
@@ -59,7 +59,7 @@ let test_values = {
       \ 'backupext': [['xxx'], ['']],
       \ 'belloff': [['', 'all', 'copy,error'], ['xxx']],
       \ 'breakindentopt': [['', 'min:3', 'sbr'], ['xxx', 'min', 'min:x']],
-      \ 'browsedir': [['', 'last', '/tmp/'], ['xxx']],
+      \ 'browsedir': [['', 'last', '/'], ['xxx']],
       \ 'bufhidden': [['', 'hide', 'wipe'], ['xxx', 'hide,wipe']],
       \ 'buftype': [['', 'help', 'nofile'], ['xxx', 'help,nofile']],
       \ 'casemap': [['', 'internal'], ['xxx']],
@@ -89,6 +89,8 @@ let test_values = {
       \ 'foldmarker': [['((,))'], ['', 'xxx']],
       \ 'formatoptions': [['', 'vt', 'v,t'], ['xxx']],
       \ 'guicursor': [['', 'n:block-Cursor'], ['xxx']],
+      \ 'guifont': [['', 'fixedsys'], []],
+      \ 'guifontwide': [['', 'fixedsys'], []],
       \ 'helplang': [['', 'de', 'de,it'], ['xxx']],
       \ 'highlight': [['', 'e:Error'], ['xxx']],
       \ 'isfname': [['', '@', '@,48-52'], ['xxx', '@48']],
@@ -108,6 +110,7 @@ let test_values = {
       \ 'printmbfont': [['', 'r:some', 'b:Bold,c:yes'], ['xxx']],
       \ 'printoptions': [['', 'header:0', 'left:10pc,top:5pc'], ['xxx']],
       \ 'scrollopt': [['', 'ver', 'ver,hor'], ['xxx']],
+      \ 'renderoptions': [['', 'type:directx'], ['xxx']],
       \ 'selection': [['old', 'inclusive'], ['', 'xxx']],
       \ 'selectmode': [['', 'mouse', 'key,cmd'], ['xxx']],
       \ 'sessionoptions': [['', 'blank', 'help,options,slash'], ['xxx']],
@@ -116,11 +119,11 @@ let test_values = {
       \ 'spellsuggest': [['', 'best', 'double,33'], ['xxx']],
       \ 'switchbuf': [['', 'useopen', 'split,newtab'], ['xxx']],
       \ 'tagcase': [['smart', 'match'], ['', 'xxx', 'smart,match']],
-      \ 'term': [['ansi'], ['', 'gui']],
+      \ 'term': [[], []],
       \ 'toolbar': [['', 'icons', 'text'], ['xxx']],
       \ 'toolbariconsize': [['', 'tiny', 'huge'], ['xxx']],
       \ 'ttymouse': [['', 'xterm'], ['xxx']],
-      \ 'ttytype': [['ansi'], ['', 'gui']],
+      \ 'ttytype': [[], []],
       \ 'viewoptions': [['', 'cursor', 'unix,slash'], ['xxx']],
       \ 'viminfo': [['', '''50', '"30'], ['xxx']],
       \ 'virtualedit': [['', 'all', 'all,block'], ['xxx']],
@@ -189,6 +192,8 @@ while 1
 
     if name == 'more'
       call add(script, 'set nomore')
+    elseif name == 'lines'
+      call add(script, 'let &lines = save_lines')
     endif
   endif
 endwhile
index 699e09340f03d7c0f4f5481a3f2e45e30c553c5b..4ccff8a90fac2b84fabc57b4793ca407b8f4091d 100644 (file)
@@ -50,4 +50,3 @@ source test_timers.vim
 source test_true_false.vim
 source test_unlet.vim
 source test_window_cmd.vim
-source test_options.vim
index e8779f5292d4aa39b3435d213eb13d86da7f0558..1c5dea4c1b22be9df14a4972aac0c53d637d5890 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    430,
 /**/
     429,
 /**/