diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-06 21:23:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-06 21:23:56 +0100 |
commit | e7893a4088d6ea796bcab6195d232cb26c12c317 (patch) | |
tree | c9ab84fbe167acee65f79b4d172aa2e26223ef2f /src/testdir | |
parent | 2795e21eaafaeaf95a91667fd411023280d0f902 (diff) | |
download | vim-git-e7893a4088d6ea796bcab6195d232cb26c12c317.tar.gz |
patch 7.4.1055v7.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.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |