@@ -2088,6 +2088,10 @@ benchmark:
20882088unittesttargets :
20892089 $(MAKE ) -f Makefile $(UNITTEST_TARGETS )
20902090
2091+ # Swap these lines to run individual tests with gvim instead of vim.
2092+ VIMTESTTARGET = $(VIMTARGET )
2093+ # VIMTESTTARGET = $(GVIMTARGET)
2094+
20912095# Execute the unittests one by one.
20922096unittest unittests : $(RUN_UNITTESTS )
20932097
@@ -2115,7 +2119,7 @@ test1 \
21152119 test70 test72 \
21162120 test85 test86 test87 test88 \
21172121 test94 test95 test99 test108:
2118- cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTARGET ) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2122+ cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTESTTARGET ) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
21192123
21202124# Run individual NEW style test.
21212125# These do not depend on the executable, compile it when needed.
@@ -2312,14 +2316,14 @@ test_arglist \
23122316 test_alot_latin \
23132317 test_alot_utf8 \
23142318 test_alot:
2315- cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile $@.res VIMPROG=../$(VIMTARGET ) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2319+ cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile $@.res VIMPROG=../$(VIMTESTTARGET ) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
23162320 @if test -f testdir/test.log; then \
23172321 cat testdir/test.log; \
23182322 fi
23192323 cat testdir/messages
23202324
23212325newtests :
2322- cd testdir; rm -f $@ .res test.log messages; $(MAKE ) -f Makefile newtestssilent VIMPROG=../$(VIMTARGET ) $(GUI_TESTARG ) SCRIPTSOURCE=../$(SCRIPTSOURCE )
2326+ cd testdir; rm -f $@ .res test.log messages; $(MAKE ) -f Makefile newtestssilent VIMPROG=../$(VIMTESTTARGET ) $(GUI_TESTARG ) SCRIPTSOURCE=../$(SCRIPTSOURCE )
23232327 @if test -f testdir/test.log; then \
23242328 cat testdir/test.log; \
23252329 fi
0 commit comments