mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
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.
This commit is contained in:
@ -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.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user