From e7893a4088d6ea796bcab6195d232cb26c12c317 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 6 Jan 2016 21:23:56 +0100 Subject: 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. --- src/testdir/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/testdir') diff --git a/src/testdir/Makefile b/src/testdir/Makefile index 6cc928c7f..8f321b585 100644 --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -120,7 +120,11 @@ nolog: # 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 -- cgit v1.2.1