aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-20 22:46:19 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-22 20:10:12 -0500
commit8969efca8c8a4e2e2894e87e6f3236df9d96d665 (patch)
tree15da318c30dc8548a46f87ff24eff2a1cc21d878 /Makefile
parent970329ff8dd138fed74bb5e722ae7690f06ef4ac (diff)
downloadrneovim-8969efca8c8a4e2e2894e87e6f3236df9d96d665.tar.gz
rneovim-8969efca8c8a4e2e2894e87e6f3236df9d96d665.tar.bz2
rneovim-8969efca8c8a4e2e2894e87e6f3236df9d96d665.zip
vim-patch:8.1.0723: cannot easily run specific test when in src/testdir
Problem: Cannot run specific test when in src/testdir the same was as in the src directory. Solution: Move build rule to src/testdir/Makefile. https://github.com/vim/vim/commit/ec50401e1e1357a1340b3c92109fd4860e38a8ac Developer can omit '.res' suffix now. TEST_FILE=test_syntax make oldtest or make -C src/nvim/testdir test_syntax
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3952c37fd4..c3b5ed80f8 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ oldtest: | nvim build/runtime/doc/tags
ifeq ($(strip $(TEST_FILE)),)
+$(SINGLE_MAKE) -C src/nvim/testdir NVIM_PRG="$(realpath build/bin/nvim)" $(MAKEOVERRIDES)
else
- +$(SINGLE_MAKE) -C src/nvim/testdir NVIM_PRG="$(realpath build/bin/nvim)" NEW_TESTS=$(TEST_FILE) SCRIPTS= $(MAKEOVERRIDES)
+ +$(SINGLE_MAKE) -C src/nvim/testdir NVIM_PRG="$(realpath build/bin/nvim)" SCRIPTS= $(MAKEOVERRIDES) $(TEST_FILE)
endif
build/runtime/doc/tags helptags: | nvim