patch 7.4.1055
Problem: Running "make newtests" in src/testdir has no output.
Solution: List the messages file when a test fails. (Christian Brabandt)
Update the list of tests.
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index 6cc928c..8f321b5 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -120,7 +120,11 @@
# Limitation: Only works with the +eval feature.
RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f -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)
+
.vim.res:
$(RUN_VIMTEST) -u NONE -S runtest.vim $*.vim