Mercurial > vim
comparison src/Makefile @ 21779:30bdd2e4a6f9 v8.2.1439
patch 8.2.1439: tiny and small builds have no test coverage
Commit: https://github.com/vim/vim/commit/b96a32ef1a95dd4ebf9413d686bccb1b4645f74b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 13 18:59:55 2020 +0200
patch 8.2.1439: tiny and small builds have no test coverage
Problem: Tiny and small builds have no test coverage.
Solution: Restore tests that do not depend on the +eval feature.
(Ken Takata, closes #6696)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 13 Aug 2020 19:15:04 +0200 |
parents | 35921b7fc07a |
children | c346db463a59 |
comparison
equal
deleted
inserted
replaced
21778:cc500536c15e | 21779:30bdd2e4a6f9 |
---|---|
2256 | 2256 |
2257 # Run the tests with the GUI. Assumes vim/gvim was already built | 2257 # Run the tests with the GUI. Assumes vim/gvim was already built |
2258 testgui: | 2258 testgui: |
2259 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) GUI_FLAG=-g $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2259 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) GUI_FLAG=-g $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2260 | 2260 |
2261 testtiny: | |
2262 cd testdir; $(MAKE) -f Makefile tiny VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) | |
2263 | |
2261 benchmark: | 2264 benchmark: |
2262 cd testdir; $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2265 cd testdir; $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2263 | 2266 |
2264 unittesttargets: | 2267 unittesttargets: |
2265 $(MAKE) -f Makefile $(UNITTEST_TARGETS) | 2268 $(MAKE) -f Makefile $(UNITTEST_TARGETS) |
2289 @if test `uname` = "Linux"; then \ | 2292 @if test `uname` = "Linux"; then \ |
2290 cd libvterm; $(MAKE) -f Makefile test \ | 2293 cd libvterm; $(MAKE) -f Makefile test \ |
2291 CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \ | 2294 CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \ |
2292 fi | 2295 fi |
2293 | 2296 |
2294 # Run test1, used to bootstrap tests. | 2297 # Run individual OLD style test. |
2295 # This does not depend on the executable, compile first it when needed. | 2298 # These do not depend on the executable, compile it when needed. |
2296 test1: | 2299 $(SCRIPTS_TINY): |
2297 cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2300 cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2298 | 2301 |
2299 # Run individual NEW style test. | 2302 # Run individual NEW style test. |
2300 # These do not depend on the executable, compile it when needed. | 2303 # These do not depend on the executable, compile it when needed. |
2301 # Set $TEST_FILTER to select what test function to invoke, e.g.: | 2304 # Set $TEST_FILTER to select what test function to invoke, e.g.: |