From: Bram Moolenaar Date: Tue, 5 Nov 2019 21:37:20 +0000 (+0100) Subject: patch 8.1.2259: running tests may leave XfakeHOME behind X-Git-Tag: v8.1.2259 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d2320414ffdd698c9a17d775f71e2c455c21624;p=vim 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. --- diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak index 7aec010c8..66839d63b 100644 --- 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 index d4290f96f..a0520e0fb 100644 --- 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 index 464de12ae..0a210b6ea 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2259, /**/ 2258, /**/