0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.1.2259: running tests may leave XfakeHOME behind

Problem:    Running tests may leave XfakeHOME behind.
Solution:   Source summarize.vim without using setup.vim. (closes #5177)
            Also fix that on MS-Windows the test log isn't echoed.
This commit is contained in:
Bram Moolenaar
2019-11-05 22:37:20 +01:00
parent dc968e7a45
commit 7d2320414f
3 changed files with 4 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ report:
$(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages
@echo. @echo.
@echo Test results: @echo Test results:
@type test_result.log @cmd /c type test_result.log
@if exist test.log ( echo TEST FAILURE & exit /b 1 ) \ @if exist test.log ( echo TEST FAILURE & exit /b 1 ) \
else ( echo ALL DONE ) else ( echo ALL DONE )

View File

@@ -54,7 +54,7 @@ report:
then cp test.log test_result.log; \ then cp test.log test_result.log; \
else echo No failures reported > test_result.log; \ else echo No failures reported > test_result.log; \
fi" fi"
$(RUN_VIMTEST) $(NO_INITS) -S summarize.vim messages $(REDIR_TEST_TO_NULL) $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages $(REDIR_TEST_TO_NULL)
@echo @echo
@echo 'Test results:' @echo 'Test results:'
@cat test_result.log @cat test_result.log

View File

@@ -741,6 +741,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 */
/**/
2259,
/**/ /**/
2258, 2258,
/**/ /**/