aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/Makefile
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-22 06:37:05 +0200
committerGitHub <noreply@github.com>2019-08-22 06:37:05 +0200
commitbb50eadc84a4d095b1739ad31720fafe7bca6d0f (patch)
tree998c55e4dd1ca3da0bc5acc2f72996f9470f2d73 /src/nvim/testdir/Makefile
parent42f492ac99058bd1cd56c3c7871e7e464b2a5e24 (diff)
parent86d88076ceeef20301b06fd69a8f98c73cffe9c6 (diff)
downloadrneovim-bb50eadc84a4d095b1739ad31720fafe7bca6d0f.tar.gz
rneovim-bb50eadc84a4d095b1739ad31720fafe7bca6d0f.tar.bz2
rneovim-bb50eadc84a4d095b1739ad31720fafe7bca6d0f.zip
Merge pull request #10815 from blueyed/vim-8.1.1483
vim-patch:8.1.1483: skipped tests are not properly listed
Diffstat (limited to 'src/nvim/testdir/Makefile')
-rw-r--r--src/nvim/testdir/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index 90381d9116..03b1bae28f 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -86,15 +86,14 @@ nongui: nolog $(FIXFF) $(SCRIPTS) newtests report
@echo 'set $$_exitcode = -1\nrun\nif $$_exitcode != -1\n quit\nend' > .gdbinit
report:
+ $(RUN_VIMTEST) $(NO_INITS) -u NONE -S summarize.vim messages
@echo
@echo 'Test results:'
- @/bin/sh -c "if test -f test.log; then \
- cat test.log; \
- echo TEST FAILURE; \
- exit 1; \
- else \
- echo ALL DONE; \
- fi"
+ @cat test_result.log
+ @/bin/sh -c "if test -f test.log; \
+ then echo TEST FAILURE; exit 1; \
+ else echo ALL DONE; \
+ fi"
test1.out: $(NVIM_PRG)
@@ -124,6 +123,7 @@ CLEAN_FILES := *.out \
*.orig \
*.tlog \
test.log \
+ test_result.log \
messages \
$(RM_ON_RUN) \
$(RM_ON_START) \
@@ -163,7 +163,7 @@ nolog:
# New style of tests uses Vim script with assert calls. These are easier
# to write and a lot easier to read and debug.
# Limitation: Only works with the +eval feature.
-RUN_VIMTEST = $(TOOL) $(NVIM_PRG) -u unix.vim -U NONE -i viminfo --headless --noplugin
+RUN_VIMTEST = $(TOOL) $(NVIM_PRG) -u unix.vim
newtests: newtestssilent
@/bin/sh -c "if test -f messages && grep -q 'FAILED' messages; then \
@@ -176,4 +176,4 @@ newtestssilent: $(NEW_TESTS)
@echo "[OLDTEST] Running" $*
@rm -rf $*.failed test.ok $(RM_ON_RUN)
@mkdir -p $(TMPDIR)
- @/bin/sh runnvim.sh $(ROOT) $(NVIM_PRG) $* $(RUN_VIMTEST) -u NONE -S runtest.vim $*.vim
+ @/bin/sh runnvim.sh $(ROOT) $(NVIM_PRG) $* $(RUN_VIMTEST) $(NO_INITS) -u NONE -S runtest.vim $*.vim