mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14: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:
@@ -75,7 +75,7 @@ report:
|
||||
$(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages
|
||||
@echo.
|
||||
@echo Test results:
|
||||
@type test_result.log
|
||||
@cmd /c type test_result.log
|
||||
@if exist test.log ( echo TEST FAILURE & exit /b 1 ) \
|
||||
else ( echo ALL DONE )
|
||||
|
||||
|
@@ -54,7 +54,7 @@ report:
|
||||
then cp test.log test_result.log; \
|
||||
else echo No failures reported > test_result.log; \
|
||||
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 'Test results:'
|
||||
@cat test_result.log
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2259,
|
||||
/**/
|
||||
2258,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user