Mercurial > vim
diff src/testdir/Makefile @ 11079:50459aeb4773 v8.0.0428
patch 8.0.0428: git and hg see new files after running tests
commit https://github.com/vim/vim/commit/65408f7dfbd4bb50d740a8b8f2171080571223f2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 7 21:31:27 2017 +0100
patch 8.0.0428: git and hg see new files after running tests
Problem: Git and hg see new files after running tests. (Manuel Ortega)
Solution: Add the generated file to .hgignore (or .gitignore). Delete the
resulting verbose file. (Christian Brabandt) Improve dependency
on opt_test.vim. Reset the 'more' option.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 07 Mar 2017 21:45:04 +0100 |
parents | 4e2cdce4576c |
children | bbdb4f0134cb |
line wrap: on
line diff
--- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -55,7 +55,7 @@ RM_ON_START = tiny.vim small.vim mbyte.v RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim $(NO_INITS) -s dotest.in clean: - -rm -rf *.out *.failed *.res *.rej *.orig test.log messages $(RM_ON_RUN) $(RM_ON_START) valgrind.* + -rm -rf *.out *.failed *.res *.rej *.orig opt_test.vim test.log messages $(RM_ON_RUN) $(RM_ON_START) valgrind.* test1.out: test1.in -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) wrongtermsize @@ -140,3 +140,7 @@ test_gui_init.res: test_gui_init.vim @echo "$(RUN_GVIMTEST_WITH_GVIMRC)" > vimcmd $(RUN_VIMTEST) -u NONE -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< @rm vimcmd + +opt_test.vim: ../option.c gen_opt_test.vim + $(VIMPROG) -u gen_opt_test.vim --noplugin --not-a-term +