Skip to content

Commit

Permalink
patch 8.0.1181: tests using Vim command fail on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    Tests using Vim command fail on MS-Windows.
Solution:   Do not add quotes around the Vim command.
  • Loading branch information
brammool committed Oct 7, 2017
1 parent 75f69e5 commit 4635e11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/testdir/Make_dos.mak
Expand Up @@ -118,17 +118,17 @@ bench_re_freeze.out: bench_re_freeze.vim
newtests: $(NEW_TESTS)

.vim.res:
@echo "$(VIMPROG)" > vimcmd
@echo $(VIMPROG) > vimcmd
$(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim
@del vimcmd

test_gui.res: test_gui.vim
@echo "$(VIMPROG)" > vimcmd
@echo $(VIMPROG) > vimcmd
$(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim
@del vimcmd

test_gui_init.res: test_gui_init.vim
@echo "$(VIMPROG)" > vimcmd
@echo $(VIMPROG) > vimcmd
$(VIMPROG) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $*.vim
@del vimcmd

Expand Down
6 changes: 3 additions & 3 deletions src/testdir/Make_ming.mak
Expand Up @@ -120,17 +120,17 @@ bench_re_freeze.out: bench_re_freeze.vim
newtests: $(NEW_TESTS)

.vim.res:
@echo "$(VIMPROG)" > vimcmd
@echo $(VIMPROG) > vimcmd
$(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim
@$(DEL) vimcmd

test_gui.res: test_gui.vim
@echo "$(VIMPROG)" > vimcmd
@echo $(VIMPROG) > vimcmd
$(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $<
@$(DEL) vimcmd

test_gui_init.res: test_gui_init.vim
@echo "$(VIMPROG)" > vimcmd
@echo $(VIMPROG) > vimcmd
$(VIMPROG) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $<
@$(DEL) vimcmd

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1181,
/**/
1180,
/**/
Expand Down

0 comments on commit 4635e11

Please sign in to comment.