Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -2262,6 +2262,10 @@ test1 \ # Run individual NEW style test. # These do not depend on the executable, compile it when needed. +# Set $TEST_FILTER to select what test function to invoke, e.g.: +# export TEST_FILTER=Test_terminal_wipe_buffer +# A partial match also works: +# export TEST_FILTER=wipe_buffer $(NEW_TESTS): cd testdir; $(MAKE) $@ VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)