]> granicus.if.org Git - vim/commitdiff
patch 8.2.1525: messages from tests were not always displayed v8.2.1525
authorBram Moolenaar <Bram@vim.org>
Wed, 26 Aug 2020 20:29:57 +0000 (22:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 26 Aug 2020 20:29:57 +0000 (22:29 +0200)
Problem:    Messages from tests were not always displayed.
Solution:   Always show messages, the timing is always useful. (Ken Takata,
            closes #6792)

src/testdir/Make_dos.mak
src/testdir/Make_ming.mak
src/testdir/Makefile
src/version.c

index ba728df9ebd0bdedbe14a50e553b4b53babd4dbc..89563848ec86666dfc429315232cf099b6d7e9fa 100644 (file)
@@ -117,7 +117,7 @@ $(TEST_OUTFILES): $(DOSTMP)\$(*B).in
 # Limitation: Only works with the +eval feature.
 
 newtests: newtestssilent
-       @if exist messages (findstr "SKIPPED FAILED" messages > nul) && type messages
+       @if exist messages type messages
 
 newtestssilent: $(NEW_TESTS_RES)
 
index 00c9e1087a4aa3fc3a0af8fec092b1d1791abb87..f9dcfc86e0a3b5bf4e109c8fb952baa7a8b249b3 100644 (file)
@@ -129,7 +129,7 @@ $(DOSTMP)/%.in : %.in
 # Limitation: Only works with the +eval feature.
 
 newtests: newtestssilent
-       @if exist messages (findstr "SKIPPED FAILED" messages > nul) && type messages
+       @if exist messages type messages
 
 newtestssilent: $(NEW_TESTS_RES)
 
index 7033d1e46ef31bc16d80539f22a8b9b2a76aface..6431f6a6b3e95935df7b58b1842d9c082f4bcc75 100644 (file)
@@ -12,7 +12,7 @@ SCRIPTSOURCE = ../../runtime
 # Comment out this line to see the verbose output of tests.
 #
 # 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.
 #   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
 
 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)
 
index 70fe7df1f7328ba32d41926f910758595b2fba8a..71851c849813c448c7f0999b64d0e0f8f4b0d227 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1525,
 /**/
     1524,
 /**/