Mercurial > vim
comparison src/testdir/Make_ming.mak @ 10944:4e2cdce4576c v8.0.0361
patch 8.0.0361: GUI initialisation is not sufficiently tested
commit https://github.com/vim/vim/commit/8be2fbb6705dfb41d06d688701803d206c968404
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 23 19:32:47 2017 +0100
patch 8.0.0361: GUI initialisation is not sufficiently tested
Problem: GUI initialisation is not sufficiently tested.
Solution: Add the gui_init test. (Kazuki Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 23 Feb 2017 19:45:04 +0100 |
parents | ed658942a71c |
children | 50459aeb4773 |
comparison
equal
deleted
inserted
replaced
10943:02654bf3c3f6 | 10944:4e2cdce4576c |
---|---|
64 win32: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) newtests | 64 win32: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) newtests |
65 @echo ALL DONE | 65 @echo ALL DONE |
66 | 66 |
67 # TODO: find a way to avoid changing the distributed files. | 67 # TODO: find a way to avoid changing the distributed files. |
68 fixff: | 68 fixff: |
69 -$(VIMPROG) -u dos.vim $(NO_PLUGIN) "+argdo set ff=dos|upd" +q *.in *.ok | 69 -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=dos|upd" +q *.in *.ok |
70 -$(VIMPROG) -u dos.vim $(NO_PLUGIN) "+argdo set ff=unix|upd" +q \ | 70 -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=unix|upd" +q \ |
71 dotest.in test60.ok test_listchars.ok \ | 71 dotest.in test60.ok test_listchars.ok \ |
72 test_getcwd.ok test_wordcount.ok | 72 test_getcwd.ok test_wordcount.ok |
73 | 73 |
74 clean: | 74 clean: |
75 -@if exist *.out $(DEL) *.out | 75 -@if exist *.out $(DEL) *.out |
89 -@if exist test.log $(DEL) test.log | 89 -@if exist test.log $(DEL) test.log |
90 -@if exist messages $(DEL) messages | 90 -@if exist messages $(DEL) messages |
91 | 91 |
92 .in.out: | 92 .in.out: |
93 -@if exist $*.ok $(CP) $*.ok test.ok | 93 -@if exist $*.ok $(CP) $*.ok test.ok |
94 $(VIMPROG) -u dos.vim $(NO_PLUGIN) -s dotest.in $*.in | 94 $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $*.in |
95 @diff test.out $*.ok | 95 @diff test.out $*.ok |
96 -@if exist $*.out $(DEL) $*.out | 96 -@if exist $*.out $(DEL) $*.out |
97 @$(MV) test.out $*.out | 97 @$(MV) test.out $*.out |
98 -@if exist Xdir1 $(DELDIR) Xdir1 | 98 -@if exist Xdir1 $(DELDIR) Xdir1 |
99 -@if exist Xfind $(DELDIR) Xfind | 99 -@if exist Xfind $(DELDIR) Xfind |
105 -@if exist test.log $(DEL) test.log | 105 -@if exist test.log $(DEL) test.log |
106 -@if exist messages $(DEL) messages | 106 -@if exist messages $(DEL) messages |
107 | 107 |
108 bench_re_freeze.out: bench_re_freeze.vim | 108 bench_re_freeze.out: bench_re_freeze.vim |
109 -$(DEL) benchmark.out | 109 -$(DEL) benchmark.out |
110 $(VIMPROG) -u dos.vim $(NO_PLUGIN) $*.in | 110 $(VIMPROG) -u dos.vim $(NO_INITS) $*.in |
111 $(CAT) benchmark.out | 111 $(CAT) benchmark.out |
112 | 112 |
113 # New style of tests uses Vim script with assert calls. These are easier | 113 # New style of tests uses Vim script with assert calls. These are easier |
114 # to write and a lot easier to read and debug. | 114 # to write and a lot easier to read and debug. |
115 # Limitation: Only works with the +eval feature. | 115 # Limitation: Only works with the +eval feature. |
116 | 116 |
117 newtests: $(NEW_TESTS) | 117 newtests: $(NEW_TESTS) |
118 | 118 |
119 .vim.res: | 119 .vim.res: |
120 @echo "$(VIMPROG)" > vimcmd | 120 @echo "$(VIMPROG)" > vimcmd |
121 $(VIMPROG) -u NONE $(NO_PLUGIN) -S runtest.vim $*.vim | 121 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim |
122 @$(DEL) vimcmd | 122 @$(DEL) vimcmd |
123 | 123 |
124 test_gui.res: test_gui.vim | |
125 @echo "$(VIMPROG)" > vimcmd | |
126 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $< | |
127 @$(DEL) vimcmd | |
128 | |
129 test_gui_init.res: test_gui_init.vim | |
130 @echo "$(VIMPROG)" > vimcmd | |
131 $(VIMPROG) -u NONE -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< | |
132 @$(DEL) vimcmd | |
133 |