Mercurial > vim
comparison src/Makefile @ 18184:ef35a3a70c24 v8.1.2087
patch 8.1.2087: cannot easily select one test function to execute
Commit: https://github.com/vim/vim/commit/a7f6c3cf071bb6267e0bd2eb3d27ca240381ba87
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 27 15:34:16 2019 +0200
patch 8.1.2087: cannot easily select one test function to execute
Problem: Cannot easily select one test function to execute.
Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi,
closes #2695)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Sep 2019 16:00:45 +0200 |
parents | 1ec6539cef68 |
children | e2be5a6485f5 |
comparison
equal
deleted
inserted
replaced
18183:6ebaf89b7a05 | 18184:ef35a3a70c24 |
---|---|
2260 test94 test95 test99: | 2260 test94 test95 test99: |
2261 cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2261 cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2262 | 2262 |
2263 # Run individual NEW style test. | 2263 # Run individual NEW style test. |
2264 # These do not depend on the executable, compile it when needed. | 2264 # These do not depend on the executable, compile it when needed. |
2265 # Set $TEST_FILTER to select what test function to invoke, e.g.: | |
2266 # export TEST_FILTER=Test_terminal_wipe_buffer | |
2267 # A partial match also works: | |
2268 # export TEST_FILTER=wipe_buffer | |
2265 $(NEW_TESTS): | 2269 $(NEW_TESTS): |
2266 cd testdir; $(MAKE) $@ VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2270 cd testdir; $(MAKE) $@ VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2267 | 2271 |
2268 newtests: | 2272 newtests: |
2269 cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile newtestssilent VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2273 cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile newtestssilent VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |