summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-27 15:34:16 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-27 15:34:16 +0200
commita7f6c3cf071bb6267e0bd2eb3d27ca240381ba87 (patch)
treec0605ca553ec25907e3a6ddca6f5de1e425ef312 /src/Makefile
parent38f1eeac3d8ec0a0e275213a62ba7ff1afb8ab33 (diff)
patch 8.1.2087: cannot easily select one test function to executev8.1.2087
Problem: Cannot easily select one test function to execute. Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi, closes #2695)
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 75085ee4b3..6e676f170d 100644
--- 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)