forked from aniani/vim
patch 8.1.0413: test output is duplicated or missing
Problem: Test output is duplicated or missing.
Solution: Adjust the MS-Windows and Unix test makefiles. (Ken Takata,
closes #3452)
This commit is contained in:
@@ -112,7 +112,10 @@ bench_re_freeze.out: bench_re_freeze.vim
|
||||
# to write and a lot easier to read and debug.
|
||||
# Limitation: Only works with the +eval feature.
|
||||
|
||||
newtests: $(NEW_TESTS)
|
||||
newtests: newtestssilent
|
||||
@if exist messages (findstr "SKIPPED FAILED" messages > nul) && type messages
|
||||
|
||||
newtestssilent: $(NEW_TESTS)
|
||||
|
||||
.vim.res:
|
||||
@echo $(VIMPROG) > vimcmd
|
||||
|
||||
@@ -121,7 +121,7 @@ nolog:
|
||||
RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim
|
||||
|
||||
newtests: newtestssilent
|
||||
@/bin/sh -c "if test -f messages && grep -q 'SKIPPED\|FAILED' messages; then cat messages && if test -f test.log; then cat test.log; fi ; fi"
|
||||
@/bin/sh -c "if test -f messages && grep -q 'SKIPPED\|FAILED' messages; then cat messages; fi"
|
||||
|
||||
newtestssilent: $(NEW_TESTS)
|
||||
|
||||
|
||||
@@ -794,6 +794,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
413,
|
||||
/**/
|
||||
412,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user