diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-11-23 18:57:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-23 18:57:24 -0800 |
| commit | 2aa7b101142e4b66682ba40b43537d8f2192f0a3 (patch) | |
| tree | 88cf4323927b299c961553bc66fb08af3463c8a4 /src/nvim/testdir/Makefile | |
| parent | 61d2a12743bcefbdd661b446b0b0fea7a1f77b17 (diff) | |
| parent | 4c532f54695e380113ec3e3db8b915e838a0bb16 (diff) | |
| download | rneovim-2aa7b101142e4b66682ba40b43537d8f2192f0a3.tar.gz rneovim-2aa7b101142e4b66682ba40b43537d8f2192f0a3.tar.bz2 rneovim-2aa7b101142e4b66682ba40b43537d8f2192f0a3.zip | |
Merge #11431 from janlazo/vim-8.1.1235
vim-patch:8.1.{471,723,1235,1490,1951,2183,2269,2329,2330}
Diffstat (limited to 'src/nvim/testdir/Makefile')
| -rw-r--r-- | src/nvim/testdir/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile index 08353509af..1e9031e098 100644 --- a/src/nvim/testdir/Makefile +++ b/src/nvim/testdir/Makefile @@ -48,7 +48,8 @@ NEW_TESTS_IGNORE := $(NEW_TESTS_IN_ALOT) $(NEW_TESTS_ALOT) \ test_listlbr \ test_largefile \ -NEW_TESTS ?= $(addsuffix .res,$(sort $(filter-out $(NEW_TESTS_IGNORE),$(basename $(notdir $(wildcard test_*.vim))))) $(NEW_TESTS_ALOT)) +NEW_TESTS ?= $(sort $(filter-out $(NEW_TESTS_IGNORE),$(basename $(notdir $(wildcard test_*.vim))))) $(NEW_TESTS_ALOT) +NEW_TESTS_RES ?= $(addsuffix .res,$(NEW_TESTS)) ifdef VALGRIND_GDB @@ -112,6 +113,16 @@ fixff: -$(NVIM_PRG) $(NO_INITS) -u unix.vim "+argdo set ff=dos|upd" +q \ dotest.in +# Execute an individual new style test, e.g.: +# make test_largefile +$(NEW_TESTS): + rm -f $@.res test.log messages + @MAKEFLAGS=--no-print-directory $(MAKE) -f Makefile $@.res + @cat messages + @if test -f test.log; then \ + exit 1; \ + fi + RM_ON_RUN := test.out X* viminfo RM_ON_START := test.ok RUN_VIM := $(TOOL) $(NVIM_PRG) -u unix.vim -U NONE -i viminfo --headless --noplugin -s dotest.in @@ -172,7 +183,7 @@ newtests: newtestssilent cat messages && cat test.log; \ fi" -newtestssilent: $(NEW_TESTS) +newtestssilent: $(NEW_TESTS_RES) %.res: %.vim .gdbinit @echo "[OLDTEST] Running" $* |