aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-12-02 17:18:37 +0100
committerGitHub <noreply@github.com>2019-12-02 17:18:37 +0100
commit0b7a7b23cce8c9eeeaac1a38190fd49e1033625c (patch)
treedc5383dc3ebc9d10f493eda7effac935a6f86ff5 /test
parent7d66a02b888e4055c62e6f477bc36b6ce760336b (diff)
downloadrneovim-0b7a7b23cce8c9eeeaac1a38190fd49e1033625c.tar.gz
rneovim-0b7a7b23cce8c9eeeaac1a38190fd49e1033625c.tar.bz2
rneovim-0b7a7b23cce8c9eeeaac1a38190fd49e1033625c.zip
oldtest: support for running by filename (#11473)
Follow-up to 8969efca8 (Vim patch 8.1.0723) NOTE: This changes the main entrypoint for running single oldtest files to not use/require the ".res" extension anymore. But it is handled for B/C. Adds a phony rule to run oldtest by filename. Not going through "$(MAKE)" avoids GNUmakefile being used then (which I use for WIP things), and it seems like SINGLE_MAKE should be used anyway probably.
Diffstat (limited to 'test')
-rw-r--r--test/README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/README.md b/test/README.md
index 2cee7da009..a6e9080a40 100644
--- a/test/README.md
+++ b/test/README.md
@@ -77,11 +77,14 @@ To run all legacy Vim tests:
make oldtest
-To run a *single* legacy test set `TEST_FILE`, for example:
+To run a *single* legacy test file you can use either:
- TEST_FILE=test_syntax.res make oldtest
+ make oldtest TEST_FILE=test_syntax.vim
+
+or:
+
+ make src/nvim/testdir/test_syntax.vim
-- The `.res` extension (instead of `.vim`) is required.
- Specify only the test file name, not the full path.