diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-23 19:32:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-23 19:32:47 +0100 |
commit | 8be2fbb6705dfb41d06d688701803d206c968404 (patch) | |
tree | 7b603e040afbf40bc7d13a87c2f433af2c49bc37 /src/testdir/Make_ming.mak | |
parent | b544f3c81f1e6a50322855681ac266ffaa8e313c (diff) |
patch 8.0.0361: GUI initialisation is not sufficiently testedv8.0.0361
Problem: GUI initialisation is not sufficiently tested.
Solution: Add the gui_init test. (Kazuki Kuriyama)
Diffstat (limited to 'src/testdir/Make_ming.mak')
-rw-r--r-- | src/testdir/Make_ming.mak | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak index ab6a60b924..61d77d2f53 100644 --- a/src/testdir/Make_ming.mak +++ b/src/testdir/Make_ming.mak @@ -66,8 +66,8 @@ win32: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) newtests # TODO: find a way to avoid changing the distributed files. fixff: - -$(VIMPROG) -u dos.vim $(NO_PLUGIN) "+argdo set ff=dos|upd" +q *.in *.ok - -$(VIMPROG) -u dos.vim $(NO_PLUGIN) "+argdo set ff=unix|upd" +q \ + -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=dos|upd" +q *.in *.ok + -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=unix|upd" +q \ dotest.in test60.ok test_listchars.ok \ test_getcwd.ok test_wordcount.ok @@ -91,7 +91,7 @@ clean: .in.out: -@if exist $*.ok $(CP) $*.ok test.ok - $(VIMPROG) -u dos.vim $(NO_PLUGIN) -s dotest.in $*.in + $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $*.in @diff test.out $*.ok -@if exist $*.out $(DEL) $*.out @$(MV) test.out $*.out @@ -107,7 +107,7 @@ nolog: bench_re_freeze.out: bench_re_freeze.vim -$(DEL) benchmark.out - $(VIMPROG) -u dos.vim $(NO_PLUGIN) $*.in + $(VIMPROG) -u dos.vim $(NO_INITS) $*.in $(CAT) benchmark.out # New style of tests uses Vim script with assert calls. These are easier @@ -118,6 +118,16 @@ newtests: $(NEW_TESTS) .vim.res: @echo "$(VIMPROG)" > vimcmd - $(VIMPROG) -u NONE $(NO_PLUGIN) -S runtest.vim $*.vim + $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim + @$(DEL) vimcmd + +test_gui.res: test_gui.vim + @echo "$(VIMPROG)" > vimcmd + $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $< + @$(DEL) vimcmd + +test_gui_init.res: test_gui_init.vim + @echo "$(VIMPROG)" > vimcmd + $(VIMPROG) -u NONE -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< @$(DEL) vimcmd |