File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1945,7 +1945,16 @@ test1 \
19451945 test80 test81 test82 test83 test84 test85 test86 test87 test88 test89 \
19461946 test90 test91 test92 test93 test94 test95 test96 test97 test98 test99 \
19471947 test100 test101 test102 test103 test104 test105 test106 test107:
1948- cd testdir; rm
[email protected] ; $(MAKE) -f Makefile
[email protected] VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
1948+ cd testdir; rm -f
[email protected] ; $(MAKE) -f Makefile
[email protected] VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
1949+
1950+ test_assert \
1951+ test_sort \
1952+ test_undolevels \
1953+ test_alot:
1954+ cd testdir; rm -f
[email protected] ; $(MAKE) -f Makefile
[email protected] VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
1955+
1956+ newtests :
1957+ cd testdir; rm -f $@ .res; $(MAKE ) -f Makefile newtests VIMPROG=../$(VIMTARGET ) $(GUI_TESTARG ) SCRIPTSOURCE=../$(SCRIPTSOURCE )
19491958
19501959testclean :
19511960 cd testdir; $(MAKE ) -f Makefile clean
Original file line number Diff line number Diff line change 22# Makefile to run all tests for Vim
33#
44
5+ # Use console or GUI.
56VIMPROG = ../vim
7+ # VIMPROG = ../gvim
8+
69SCRIPTSOURCE = ../../runtime
710
811# Uncomment this line to use valgrind for memory leaks and extra warnings.
@@ -91,11 +94,11 @@ report:
9194 else echo ALL DONE; \
9295 fi"
9396
94- $(SCRIPTS ) $(SCRIPTS_GUI ) : $(VIMPROG )
97+ $(SCRIPTS ) $(SCRIPTS_GUI ) $( NEW_TESTS ) : $(VIMPROG )
9598
9699RM_ON_RUN = test.out X* viminfo
97100RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out
98- RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE ) ; export VIMRUNTIME; $(VALGRIND ) $(VIMPROG ) -u unix.vim -U NONE --noplugin -s dotest.in
101+ RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE ) ; export VIMRUNTIME; $(VALGRIND ) $(VIMPROG ) -f - u unix.vim -U NONE --noplugin -s dotest.in
99102
100103clean :
101104 -rm -rf * .out * .failed * .res * .rej * .orig test.log $(RM_ON_RUN ) $(RM_ON_START ) valgrind.*
@@ -165,7 +168,7 @@ nolog:
165168# New style of tests uses Vim script with assert calls. These are easier
166169# to write and a lot easier to read and debug.
167170# Limitation: Only works with the +eval feature.
168- RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE ) ; export VIMRUNTIME; $(VALGRIND ) $(VIMPROG ) -u unix.vim -U NONE --noplugin
171+ RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE ) ; export VIMRUNTIME; $(VALGRIND ) $(VIMPROG ) -f - u unix.vim -U NONE --noplugin
169172
170173newtests : $(NEW_TESTS )
171174
Original file line number Diff line number Diff line change @@ -741,6 +741,8 @@ static char *(features[]) =
741741
742742static int included_patches [] =
743743{ /* Add new patch number below this line */
744+ /**/
745+ 962 ,
744746/**/
745747 961 ,
746748/**/
You can’t perform that action at this time.
0 commit comments