# HG changeset patch # User Bram Moolenaar # Date 1572990304 -3600 # Node ID 41b2506c76621fa78eb056e56fdc892382fba887 # Parent 2fae433d5d9f33300390990b44669abb445edad0 patch 8.1.2259: running tests may leave XfakeHOME behind Commit: https://github.com/vim/vim/commit/7d2320414ffdd698c9a17d775f71e2c455c21624 Author: Bram Moolenaar Date: Tue Nov 5 22:37:20 2019 +0100 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 https://github.com/vim/vim/issues/5177) Also fix that on MS-Windows the test log isn't echoed. diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak --- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -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 ) diff --git a/src/testdir/Makefile b/src/testdir/Makefile --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2259, +/**/ 2258, /**/ 2257,