mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1525: messages from tests were not always displayed
Problem: Messages from tests were not always displayed. Solution: Always show messages, the timing is always useful. (Ken Takata, closes #6792)
This commit is contained in:
@@ -117,7 +117,7 @@ $(TEST_OUTFILES): $(DOSTMP)\$(*B).in
|
|||||||
# Limitation: Only works with the +eval feature.
|
# Limitation: Only works with the +eval feature.
|
||||||
|
|
||||||
newtests: newtestssilent
|
newtests: newtestssilent
|
||||||
@if exist messages (findstr "SKIPPED FAILED" messages > nul) && type messages
|
@if exist messages type messages
|
||||||
|
|
||||||
newtestssilent: $(NEW_TESTS_RES)
|
newtestssilent: $(NEW_TESTS_RES)
|
||||||
|
|
||||||
|
@@ -129,7 +129,7 @@ $(DOSTMP)/%.in : %.in
|
|||||||
# Limitation: Only works with the +eval feature.
|
# Limitation: Only works with the +eval feature.
|
||||||
|
|
||||||
newtests: newtestssilent
|
newtests: newtestssilent
|
||||||
@if exist messages (findstr "SKIPPED FAILED" messages > nul) && type messages
|
@if exist messages type messages
|
||||||
|
|
||||||
newtestssilent: $(NEW_TESTS_RES)
|
newtestssilent: $(NEW_TESTS_RES)
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ SCRIPTSOURCE = ../../runtime
|
|||||||
# Comment out this line to see the verbose output of tests.
|
# Comment out this line to see the verbose output of tests.
|
||||||
#
|
#
|
||||||
# Catches SwapExists to avoid hanging at the ATTENTION prompt.
|
# Catches SwapExists to avoid hanging at the ATTENTION prompt.
|
||||||
REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null
|
#REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null
|
||||||
|
|
||||||
# Uncomment this line to use valgrind for memory leaks and extra warnings.
|
# Uncomment this line to use valgrind for memory leaks and extra warnings.
|
||||||
# The output goes into a file "valgrind.testN"
|
# The output goes into a file "valgrind.testN"
|
||||||
@@ -126,7 +126,7 @@ tinytests: $(SCRIPTS_TINY_OUT)
|
|||||||
RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim
|
RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim
|
||||||
|
|
||||||
newtests: newtestssilent
|
newtests: newtestssilent
|
||||||
@/bin/sh -c "if test -f messages && grep -q 'SKIPPED\|FAILED' messages; then cat messages; fi"
|
@/bin/sh -c "if test -f messages; then cat messages; fi"
|
||||||
|
|
||||||
newtestssilent: $(NEW_TESTS_RES)
|
newtestssilent: $(NEW_TESTS_RES)
|
||||||
|
|
||||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1525,
|
||||||
/**/
|
/**/
|
||||||
1524,
|
1524,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user