diff options
Diffstat (limited to 'src/nvim/testdir/Makefile')
-rw-r--r-- | src/nvim/testdir/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile index 23a9b97d91..efcb8a68d2 100644 --- a/src/nvim/testdir/Makefile +++ b/src/nvim/testdir/Makefile @@ -158,7 +158,12 @@ nolog: # Limitation: Only works with the +eval feature. RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -u unix.vim -U NONE --noplugin -newtests: $(NEW_TESTS) +newtests: newtestssilent + @/bin/sh -c "if test -f messages && grep -q 'FAILED' messages; then \ + cat messages && cat test.log; \ + fi" \ + +newtestssilent: $(NEW_TESTS) %.res: %.vim .gdbinit $(RUN_VIMTEST) -u runtest.vim $*.vim |